struct VerbRecord
Defined at line 105 of file ../../src/developer/debug/zxdb/console/verbs.h
Public Members
function_impl exec
vector aliases
const char * short_help
const char * usage
const char * help
vector switches
bool needs_elision
CommandGroup command_group
SourceAffinity source_affinity
ParamType param_type
function_impl complete
Public Methods
void VerbRecord ()
Defined at line 71 of file ../../src/developer/debug/zxdb/console/verbs.cc
void VerbRecord (CommandExecutorexec,std::initializer_list<std::string>aliases,const char *short_help,const char *usage,const char *help,CommandGroupgroup,SourceAffinitysource_affinity)
The help will be referenced by pointer. It is expected to be a static string.
Defined at line 73 of file ../../src/developer/debug/zxdb/console/verbs.cc
void VerbRecord (CommandExecutorexec,CommandCompletercomplete,std::initializer_list<std::string>aliases,const char *short_help,const char *usage,const char *help,CommandGroupgroup,SourceAffinitysource_affinity)
This variant takes a completer.
Defined at line 84 of file ../../src/developer/debug/zxdb/console/verbs.cc
void ~VerbRecord ()
Defined at line 97 of file ../../src/developer/debug/zxdb/console/verbs.cc
void VerbRecord (VerbRecord && )
Defined at line 127 of file ../../src/developer/debug/zxdb/console/verbs.h
VerbRecord & operator= (VerbRecord && )
Defined at line 142 of file ../../src/developer/debug/zxdb/console/verbs.h
Enumerations
enum ParamType
| Name | Value | Comments |
|---|---|---|
| kWhitespaceSeparated | 0 |
The parameters are separated on whitespace and each one is added to the Command::args. |
| kOneParam | 1 |
All parameters after switches are treated as one string. Everything including whitespace, |
Defined at line 106 of file ../../src/developer/debug/zxdb/console/verbs.h