LLDB
mainline
|
#include <SBCommandInterpreter.h>
Public Types | |
enum | { eBroadcastBitThreadShouldExit = (1 << 0), eBroadcastBitResetPrompt = (1 << 1), eBroadcastBitQuitCommandReceived = (1 << 2), eBroadcastBitAsynchronousOutputData = (1 << 3), eBroadcastBitAsynchronousErrorData = (1 << 4) } |
Public Member Functions | |
SBCommandInterpreter (const lldb::SBCommandInterpreter &rhs) | |
~SBCommandInterpreter () | |
const lldb::SBCommandInterpreter & | operator= (const lldb::SBCommandInterpreter &rhs) |
operator bool () const | |
bool | IsValid () const |
bool | CommandExists (const char *cmd) |
bool | AliasExists (const char *cmd) |
lldb::SBBroadcaster | GetBroadcaster () |
bool | HasCommands () |
bool | HasAliases () |
bool | HasAliasOptions () |
bool | IsInteractive () |
lldb::SBProcess | GetProcess () |
lldb::SBDebugger | GetDebugger () |
lldb::SBCommand | AddMultiwordCommand (const char *name, const char *help) |
lldb::SBCommand | AddCommand (const char *name, lldb::SBCommandPluginInterface *impl, const char *help) |
Add a new command to the lldb::CommandInterpreter. More... | |
lldb::SBCommand | AddCommand (const char *name, lldb::SBCommandPluginInterface *impl, const char *help, const char *syntax) |
Add a new command to the lldb::CommandInterpreter. More... | |
lldb::SBCommand | AddCommand (const char *name, lldb::SBCommandPluginInterface *impl, const char *help, const char *syntax, const char *auto_repeat_command) |
Add a new command to the lldb::CommandInterpreter. More... | |
void | SourceInitFileInGlobalDirectory (lldb::SBCommandReturnObject &result) |
void | SourceInitFileInHomeDirectory (lldb::SBCommandReturnObject &result) |
void | SourceInitFileInHomeDirectory (lldb::SBCommandReturnObject &result, bool is_repl) |
void | SourceInitFileInCurrentWorkingDirectory (lldb::SBCommandReturnObject &result) |
lldb::ReturnStatus | HandleCommand (const char *command_line, lldb::SBCommandReturnObject &result, bool add_to_history=false) |
lldb::ReturnStatus | HandleCommand (const char *command_line, SBExecutionContext &exe_ctx, SBCommandReturnObject &result, bool add_to_history=false) |
void | HandleCommandsFromFile (lldb::SBFileSpec &file, lldb::SBExecutionContext &override_context, lldb::SBCommandInterpreterRunOptions &options, lldb::SBCommandReturnObject result) |
int | HandleCompletion (const char *current_line, const char *cursor, const char *last_char, int match_start_point, int max_return_elements, lldb::SBStringList &matches) |
int | HandleCompletion (const char *current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, lldb::SBStringList &matches) |
int | HandleCompletionWithDescriptions (const char *current_line, const char *cursor, const char *last_char, int match_start_point, int max_return_elements, lldb::SBStringList &matches, lldb::SBStringList &descriptions) |
int | HandleCompletionWithDescriptions (const char *current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, lldb::SBStringList &matches, lldb::SBStringList &descriptions) |
bool | WasInterrupted () const |
bool | SetCommandOverrideCallback (const char *command_name, lldb::CommandOverrideCallback callback, void *baton) |
SBCommandInterpreter (lldb_private::CommandInterpreter *interpreter_ptr=nullptr) | |
bool | IsActive () |
Return true if the command interpreter is the active IO handler. More... | |
const char * | GetIOHandlerControlSequence (char ch) |
Get the string that needs to be written to the debugger stdin file handle when a control character is typed. More... | |
bool | GetPromptOnQuit () |
void | SetPromptOnQuit (bool b) |
void | AllowExitCodeOnQuit (bool allow) |
Sets whether the command interpreter should allow custom exit codes for the 'quit' command. More... | |
bool | HasCustomQuitExitCode () |
Returns true if the user has called the 'quit' command with a custom exit code. More... | |
int | GetQuitStatus () |
Returns the exit code that the user has specified when running the 'quit' command. More... | |
void | ResolveCommand (const char *command_line, SBCommandReturnObject &result) |
Resolve the command just as HandleCommand would, expanding abbreviations and aliases. More... | |
Static Public Member Functions | |
static const char * | GetArgumentTypeAsCString (const lldb::CommandArgumentType arg_type) |
static const char * | GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type) |
static bool | EventIsCommandInterpreterEvent (const lldb::SBEvent &event) |
static const char * | GetBroadcasterClass () |
Protected Member Functions | |
lldb_private::CommandInterpreter & | ref () |
lldb_private::CommandInterpreter * | get () |
void | reset (lldb_private::CommandInterpreter *) |
Private Attributes | |
lldb_private::CommandInterpreter * | m_opaque_ptr |
Friends | |
class | SBDebugger |
Definition at line 19 of file SBCommandInterpreter.h.
anonymous enum |
Enumerator | |
---|---|
eBroadcastBitThreadShouldExit | |
eBroadcastBitResetPrompt | |
eBroadcastBitQuitCommandReceived | |
eBroadcastBitAsynchronousOutputData | |
eBroadcastBitAsynchronousErrorData |
Definition at line 21 of file SBCommandInterpreter.h.
SBCommandInterpreter::SBCommandInterpreter | ( | const lldb::SBCommandInterpreter & | rhs | ) |
Definition at line 88 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
SBCommandInterpreter::SBCommandInterpreter | ( | lldb_private::CommandInterpreter * | interpreter_ptr = nullptr | ) |
Definition at line 83 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
lldb::SBCommand SBCommandInterpreter::AddCommand | ( | const char * | name, |
lldb::SBCommandPluginInterface * | impl, | ||
const char * | help | ||
) |
Add a new command to the lldb::CommandInterpreter.
The new command won't support autorepeat. If you need this functionality, use the override of this function that accepts the auto_repeat_command parameter.
[in] | name | The name of the command. |
[in] | impl | The handler of this command. |
[in] | help | The general description to show as part of the help message of this command. |
Definition at line 552 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AddCommand().
lldb::SBCommand SBCommandInterpreter::AddCommand | ( | const char * | name, |
lldb::SBCommandPluginInterface * | impl, | ||
const char * | help, | ||
const char * | syntax | ||
) |
Add a new command to the lldb::CommandInterpreter.
The new command won't support autorepeat. If you need this functionality, use the override of this function that accepts the auto_repeat_command parameter.
[in] | name | The name of the command. |
[in] | impl | The handler of this command. |
[in] | help | The general description to show as part of the help message of this command. |
[in] | syntax | The syntax to show as part of the help message of this command. This could include a description of the different arguments and flags this command accepts. |
Definition at line 561 of file SBCommandInterpreter.cpp.
References AddCommand(), and LLDB_INSTRUMENT_VA.
lldb::SBCommand SBCommandInterpreter::AddCommand | ( | const char * | name, |
lldb::SBCommandPluginInterface * | impl, | ||
const char * | help, | ||
const char * | syntax, | ||
const char * | auto_repeat_command | ||
) |
Add a new command to the lldb::CommandInterpreter.
[in] | name | The name of the command. |
[in] | impl | The handler of this command. |
[in] | help | The general description to show as part of the help message of this command. |
[in] | syntax | The syntax to show as part of the help message of this command. This could include a description of the different arguments and flags this command accepts. |
[in] | auto_repeat_command | Autorepeating is triggered when the user presses Enter successively after executing a command. If nullptr is provided, the previous exact command will be repeated. If "" is provided, autorepeating is disabled. Otherwise, the provided string is used as a repeat command. |
Definition at line 568 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::AddUserCommand(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommand, and lldb_private::Status::Success().
lldb::SBCommand SBCommandInterpreter::AddMultiwordCommand | ( | const char * | name, |
const char * | help | ||
) |
Definition at line 539 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::AddUserCommand(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommand, and lldb_private::Status::Success().
bool SBCommandInterpreter::AliasExists | ( | const char * | cmd | ) |
Definition at line 120 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::AliasExists(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
void SBCommandInterpreter::AllowExitCodeOnQuit | ( | bool | allow | ) |
Sets whether the command interpreter should allow custom exit codes for the 'quit' command.
Definition at line 382 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::AllowExitCodeOnQuit(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::CommandExists | ( | const char * | cmd | ) |
Definition at line 113 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::CommandExists(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
static |
Definition at line 513 of file SBCommandInterpreter.cpp.
References GetBroadcasterClass(), and LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 418 of file SBCommandInterpreter.cpp.
References m_opaque_ptr.
Referenced by lldb::SBDebugger::Create().
|
static |
Definition at line 506 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
|
static |
Definition at line 499 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
SBBroadcaster SBCommandInterpreter::GetBroadcaster | ( | ) |
Definition at line 485 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
static |
Definition at line 493 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT.
Referenced by EventIsCommandInterpreterEvent().
SBDebugger SBCommandInterpreter::GetDebugger | ( | ) |
Definition at line 359 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBDebugger::reset().
const char * SBCommandInterpreter::GetIOHandlerControlSequence | ( | char | ch | ) |
Get the string that needs to be written to the debugger stdin file handle when a control character is typed.
Some GUI programs will intercept "control + char" sequences and want to have them do what normally would happen when using a real terminal, so this function allows GUI programs to emulate this functionality.
[in] | ch | The character that was typed along with the control key |
Definition at line 139 of file SBCommandInterpreter.cpp.
References lldb_private::ConstString::GetCString(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetTopIOHandlerControlSequence(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBProcess SBCommandInterpreter::GetProcess | ( | ) |
Definition at line 342 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedTarget(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBProcess::SetSP().
bool SBCommandInterpreter::GetPromptOnQuit | ( | ) |
Definition at line 369 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetPromptOnQuit(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
int SBCommandInterpreter::GetQuitStatus | ( | ) |
Returns the exit code that the user has specified when running the 'quit' command.
Returns 0 if the user hasn't called 'quit' at all or without a custom exit code.
Definition at line 398 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetQuitExitCode(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
lldb::ReturnStatus SBCommandInterpreter::HandleCommand | ( | const char * | command_line, |
lldb::SBCommandReturnObject & | result, | ||
bool | add_to_history = false |
||
) |
Definition at line 150 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBDebugger::HandleCommand().
lldb::ReturnStatus SBCommandInterpreter::HandleCommand | ( | const char * | command_line, |
SBExecutionContext & | exe_ctx, | ||
SBCommandReturnObject & | result, | ||
bool | add_to_history = false |
||
) |
Definition at line 159 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::SBCommandReturnObject::Clear(), lldb_private::eLazyBoolNo, lldb_private::eLazyBoolYes, lldb::SBExecutionContext::get(), lldb::SBCommandReturnObject::GetStatus(), lldb_private::CommandInterpreter::HandleCommand(), IsValid(), LLDB_INSTRUMENT_VA, lldb_private::ExecutionContextRef::Lock(), m_opaque_ptr, lldb::SBCommandReturnObject::ref(), and lldb_private::CommandReturnObject::SetInteractive().
void SBCommandInterpreter::HandleCommandsFromFile | ( | lldb::SBFileSpec & | file, |
lldb::SBExecutionContext & | override_context, | ||
lldb::SBCommandInterpreterRunOptions & | options, | ||
lldb::SBCommandReturnObject | result | ||
) |
Definition at line 184 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb_private::CommandReturnObject::AppendErrorWithFormat(), lldb::SBExecutionContext::get(), lldb::SBStream::GetData(), lldb::SBFileSpec::GetDescription(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), lldb::SBFileSpec::IsValid(), IsValid(), LLDB_INSTRUMENT_VA, lldb_private::ExecutionContextRef::Lock(), m_opaque_ptr, lldb::SBCommandInterpreterRunOptions::ref(), lldb::SBFileSpec::ref(), and lldb::SBCommandReturnObject::ref().
int SBCommandInterpreter::HandleCompletion | ( | const char * | current_line, |
const char * | cursor, | ||
const char * | last_char, | ||
int | match_start_point, | ||
int | max_return_elements, | ||
lldb::SBStringList & | matches | ||
) |
Definition at line 212 of file SBCommandInterpreter.cpp.
References HandleCompletionWithDescriptions(), and LLDB_INSTRUMENT_VA.
Referenced by HandleCompletion().
int SBCommandInterpreter::HandleCompletion | ( | const char * | current_line, |
uint32_t | cursor_pos, | ||
int | match_start_point, | ||
int | max_return_elements, | ||
lldb::SBStringList & | matches | ||
) |
Definition at line 304 of file SBCommandInterpreter.cpp.
References HandleCompletion(), and LLDB_INSTRUMENT_VA.
int SBCommandInterpreter::HandleCompletionWithDescriptions | ( | const char * | current_line, |
const char * | cursor, | ||
const char * | last_char, | ||
int | match_start_point, | ||
int | max_return_elements, | ||
lldb::SBStringList & | matches, | ||
lldb::SBStringList & | descriptions | ||
) |
Definition at line 224 of file SBCommandInterpreter.cpp.
References lldb::SBStringList::AppendList(), lldb_private::Args::GetArgumentCount(), lldb_private::CompletionRequest::GetCursorArgumentPrefix(), lldb_private::CompletionResult::GetDescriptions(), lldb_private::CompletionResult::GetMatches(), lldb_private::CompletionResult::GetNumberOfResults(), lldb_private::CompletionRequest::GetParsedArg(), lldb_private::CompletionRequest::GetParsedLine(), lldb_private::Args::ArgEntry::GetQuoteChar(), lldb_private::StringList::GetSize(), lldb_private::CommandInterpreter::HandleCompletion(), lldb_private::StringList::InsertStringAtIndex(), lldb_private::Args::ArgEntry::IsQuoted(), IsValid(), LLDB_INSTRUMENT_VA, lldb_private::StringList::LongestCommonPrefix(), m_opaque_ptr, and string().
Referenced by HandleCompletion(), and HandleCompletionWithDescriptions().
int SBCommandInterpreter::HandleCompletionWithDescriptions | ( | const char * | current_line, |
uint32_t | cursor_pos, | ||
int | match_start_point, | ||
int | max_return_elements, | ||
lldb::SBStringList & | matches, | ||
lldb::SBStringList & | descriptions | ||
) |
Definition at line 290 of file SBCommandInterpreter.cpp.
References HandleCompletionWithDescriptions(), and LLDB_INSTRUMENT_VA.
bool SBCommandInterpreter::HasAliases | ( | ) |
Definition at line 324 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::HasAliases(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::HasAliasOptions | ( | ) |
Definition at line 330 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::HasAliasOptions(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::HasCommands | ( | ) |
Definition at line 318 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::HasCommands(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::HasCustomQuitExitCode | ( | ) |
Returns true if the user has called the 'quit' command with a custom exit code.
Definition at line 389 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetQuitExitCode(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::IsActive | ( | ) |
Return true if the command interpreter is the active IO handler.
This indicates that any input coming into the debugger handles will go to the command interpreter and will result in LLDB command line commands being executed.
Definition at line 127 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::IsActive(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::IsInteractive | ( | ) |
Definition at line 336 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::IsInteractive(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBCommandInterpreter::IsValid | ( | ) | const |
Definition at line 103 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AliasExists(), CommandExists(), GetDebugger(), GetIOHandlerControlSequence(), GetProcess(), GetPromptOnQuit(), HandleCommand(), HandleCommandsFromFile(), HandleCompletionWithDescriptions(), HasAliases(), HasAliasOptions(), HasCommands(), IsActive(), IsInteractive(), ResolveCommand(), SetCommandOverrideCallback(), SetPromptOnQuit(), SourceInitFileInCurrentWorkingDirectory(), SourceInitFileInGlobalDirectory(), SourceInitFileInHomeDirectory(), and WasInterrupted().
|
explicit |
Definition at line 107 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
const SBCommandInterpreter & SBCommandInterpreter::operator= | ( | const lldb::SBCommandInterpreter & | rhs | ) |
Definition at line 96 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
protected |
Definition at line 420 of file SBCommandInterpreter.cpp.
References m_opaque_ptr.
|
protected |
Definition at line 425 of file SBCommandInterpreter.cpp.
References m_opaque_ptr.
Referenced by lldb::SBDebugger::GetCommandInterpreter().
void SBCommandInterpreter::ResolveCommand | ( | const char * | command_line, |
SBCommandReturnObject & | result | ||
) |
Resolve the command just as HandleCommand would, expanding abbreviations and aliases.
If successful, result->GetOutput has the full expansion.
Definition at line 405 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::SBCommandReturnObject::Clear(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommandReturnObject::ref(), and lldb_private::CommandInterpreter::ResolveCommand().
bool SBCommandInterpreter::SetCommandOverrideCallback | ( | const char * | command_name, |
lldb::CommandOverrideCallback | callback, | ||
void * | baton | ||
) |
Definition at line 521 of file SBCommandInterpreter.cpp.
References lldb_private::CommandInterpreter::GetCommandObjectForCommand(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb_private::CommandObject::SetOverrideCallback().
void SBCommandInterpreter::SetPromptOnQuit | ( | bool | b | ) |
Definition at line 375 of file SBCommandInterpreter.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb_private::CommandInterpreter::SetPromptOnQuit().
void SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory | ( | lldb::SBCommandReturnObject & | result | ) |
Definition at line 469 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::SBCommandReturnObject::Clear(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedTarget(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommandReturnObject::ref(), and lldb_private::CommandInterpreter::SourceInitFileCwd().
void SBCommandInterpreter::SourceInitFileInGlobalDirectory | ( | lldb::SBCommandReturnObject & | result | ) |
Definition at line 430 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::SBCommandReturnObject::Clear(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedTarget(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommandReturnObject::ref(), and lldb_private::CommandInterpreter::SourceInitFileGlobal().
Referenced by lldb::SBDebugger::Create().
void SBCommandInterpreter::SourceInitFileInHomeDirectory | ( | lldb::SBCommandReturnObject & | result | ) |
Definition at line 446 of file SBCommandInterpreter.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBDebugger::Create().
void SBCommandInterpreter::SourceInitFileInHomeDirectory | ( | lldb::SBCommandReturnObject & | result, |
bool | is_repl | ||
) |
Definition at line 453 of file SBCommandInterpreter.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::SBCommandReturnObject::Clear(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedTarget(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBCommandReturnObject::ref(), and lldb_private::CommandInterpreter::SourceInitFileHome().
bool SBCommandInterpreter::WasInterrupted | ( | ) | const |
Definition at line 133 of file SBCommandInterpreter.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb_private::CommandInterpreter::WasInterrupted().
|
friend |
Definition at line 278 of file SBCommandInterpreter.h.
|
private |
Definition at line 280 of file SBCommandInterpreter.h.
Referenced by AddCommand(), AddMultiwordCommand(), AliasExists(), AllowExitCodeOnQuit(), CommandExists(), get(), GetBroadcaster(), GetDebugger(), GetIOHandlerControlSequence(), GetProcess(), GetPromptOnQuit(), GetQuitStatus(), HandleCommand(), HandleCommandsFromFile(), HandleCompletionWithDescriptions(), HasAliases(), HasAliasOptions(), HasCommands(), HasCustomQuitExitCode(), IsActive(), IsInteractive(), operator=(), ref(), reset(), ResolveCommand(), SetCommandOverrideCallback(), SetPromptOnQuit(), SourceInitFileInCurrentWorkingDirectory(), SourceInitFileInGlobalDirectory(), SourceInitFileInHomeDirectory(), and WasInterrupted().