Lines Matching defs:SBCommandInterpreter
1 //===-- SBCommandInterpreter.cpp ------------------------------------------===//
20 #include "lldb/API/SBCommandInterpreter.h"
76 SBCommandInterpreter sb_interpreter(&m_interpreter);
85 SBCommandInterpreter::SBCommandInterpreter() : m_opaque_ptr() {
89 SBCommandInterpreter::SBCommandInterpreter(CommandInterpreter *interpreter)
94 SBCommandInterpreter::SBCommandInterpreter(const SBCommandInterpreter &rhs)
99 SBCommandInterpreter::~SBCommandInterpreter() = default;
101 const SBCommandInterpreter &SBCommandInterpreter::
102 operator=(const SBCommandInterpreter &rhs) {
109 bool SBCommandInterpreter::IsValid() const {
113 SBCommandInterpreter::operator bool() const {
119 bool SBCommandInterpreter::CommandExists(const char *cmd) {
126 bool SBCommandInterpreter::UserCommandExists(const char *cmd) {
133 bool SBCommandInterpreter::AliasExists(const char *cmd) {
140 bool SBCommandInterpreter::IsActive() {
146 bool SBCommandInterpreter::WasInterrupted() const {
152 bool SBCommandInterpreter::InterruptCommand() {
158 const char *SBCommandInterpreter::GetIOHandlerControlSequence(char ch) {
170 SBCommandInterpreter::HandleCommand(const char *command_line,
179 lldb::ReturnStatus SBCommandInterpreter::HandleCommand(
198 "SBCommandInterpreter or the command line is not valid");
204 void SBCommandInterpreter::HandleCommandsFromFile(
211 result->AppendError("SBCommandInterpreter is not valid.");
232 int SBCommandInterpreter::HandleCompletion(
244 int SBCommandInterpreter::HandleCompletionWithDescriptions(
310 int SBCommandInterpreter::HandleCompletionWithDescriptions(
324 int SBCommandInterpreter::HandleCompletion(const char *current_line,
338 bool SBCommandInterpreter::HasCommands() {
344 bool SBCommandInterpreter::HasAliases() {
350 bool SBCommandInterpreter::HasAliasOptions() {
356 bool SBCommandInterpreter::IsInteractive() {
362 SBProcess SBCommandInterpreter::GetProcess() {
379 SBDebugger SBCommandInterpreter::GetDebugger() {
389 bool SBCommandInterpreter::GetPromptOnQuit() {
395 void SBCommandInterpreter::SetPromptOnQuit(bool b) {
402 void SBCommandInterpreter::AllowExitCodeOnQuit(bool allow) {
409 bool SBCommandInterpreter::HasCustomQuitExitCode() {
418 int SBCommandInterpreter::GetQuitStatus() {
425 void SBCommandInterpreter::ResolveCommand(const char *command_line,
434 "SBCommandInterpreter or the command line is not valid");
438 CommandInterpreter *SBCommandInterpreter::get() { return m_opaque_ptr; }
440 CommandInterpreter &SBCommandInterpreter::ref() {
445 void SBCommandInterpreter::reset(
450 void SBCommandInterpreter::SourceInitFileInGlobalDirectory(
462 result->AppendError("SBCommandInterpreter is not valid");
466 void SBCommandInterpreter::SourceInitFileInHomeDirectory(
473 void SBCommandInterpreter::SourceInitFileInHomeDirectory(
485 result->AppendError("SBCommandInterpreter is not valid");
489 void SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory(
501 result->AppendError("SBCommandInterpreter is not valid");
505 SBBroadcaster SBCommandInterpreter::GetBroadcaster() {
513 const char *SBCommandInterpreter::GetBroadcasterClass() {
520 const char *SBCommandInterpreter::GetArgumentTypeAsCString(
528 const char *SBCommandInterpreter::GetArgumentDescriptionAsCString(
536 bool SBCommandInterpreter::EventIsCommandInterpreterEvent(
541 SBCommandInterpreter::GetBroadcasterClass();
544 bool SBCommandInterpreter::SetCommandOverrideCallback(
562 SBStructuredData SBCommandInterpreter::GetStatistics() {
575 SBStructuredData SBCommandInterpreter::GetTranscript() {
590 lldb::SBCommand SBCommandInterpreter::AddMultiwordCommand(const char *name,
603 lldb::SBCommand SBCommandInterpreter::AddCommand(
612 SBCommandInterpreter::AddCommand(const char *name,
619 lldb::SBCommand SBCommandInterpreter::AddCommand(