|
LLDB mainline
|
Stands in for a script language without an interpreter, reporting why it is unavailable. More...
#include <ScriptInterpreterNone.h>
Static Public Member Functions | |
| static void | Initialize () |
| static void | Terminate () |
| static lldb::ScriptInterpreterSP | CreateInstance (Debugger &debugger, lldb::ScriptLanguage requested_language) |
| static llvm::StringRef | GetPluginNameStatic () |
| static llvm::StringRef | GetPluginDescriptionStatic () |
| Static Public Member Functions inherited from lldb_private::ScriptInterpreter | |
| static std::string | LanguageToString (lldb::ScriptLanguage language) |
| static lldb::ScriptLanguage | StringToLanguage (const llvm::StringRef &string) |
| static llvm::StringLiteral | ExtensionToString (lldb::ScriptedExtension extension) |
| static lldb::ScriptedExtension | StringToExtension (llvm::StringRef string) |
Private Member Functions | |
| llvm::Error | GetUnavailableError () const |
| Returns the error recorded for the requested language, or success. | |
Private Attributes | |
| lldb::ScriptLanguage | m_requested_language |
Additional Inherited Members | |
| Public Types inherited from lldb_private::ScriptInterpreter | |
| enum | ScriptReturnType { eScriptReturnTypeCharPtr , eScriptReturnTypeBool , eScriptReturnTypeShortInt , eScriptReturnTypeShortIntUnsigned , eScriptReturnTypeInt , eScriptReturnTypeIntUnsigned , eScriptReturnTypeLongInt , eScriptReturnTypeLongIntUnsigned , eScriptReturnTypeLongLong , eScriptReturnTypeLongLongUnsigned , eScriptReturnTypeFloat , eScriptReturnTypeDouble , eScriptReturnTypeChar , eScriptReturnTypeCharStrOrNone , eScriptReturnTypeOpaqueObject } |
| Protected Attributes inherited from lldb_private::ScriptInterpreter | |
| Debugger & | m_debugger |
| lldb::ScriptLanguage | m_script_lang |
Stands in for a script language without an interpreter, reporting why it is unavailable.
Definition at line 18 of file ScriptInterpreterNone.h.
| ScriptInterpreterNone::ScriptInterpreterNone | ( | Debugger & | debugger, |
| lldb::ScriptLanguage | requested_language ) |
Definition at line 22 of file ScriptInterpreterNone.cpp.
References lldb::eScriptLanguageNone, m_requested_language, lldb_private::ScriptInterpreter::ScriptInterpreter(), and ScriptInterpreterNone().
Referenced by ScriptInterpreterNone().
|
overridedefault |
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 92 of file ScriptInterpreterNone.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb_private::ScriptInterpreter::CollectDataForBreakpointCommandCallback(), and GetUnavailableError().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 101 of file ScriptInterpreterNone.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb_private::ScriptInterpreter::CollectDataForWatchpointCommandCallback(), and GetUnavailableError().
|
static |
Definition at line 147 of file ScriptInterpreterNone.cpp.
Referenced by Initialize(), and Terminate().
|
overridevirtual |
Implements lldb_private::ScriptInterpreter.
Definition at line 73 of file ScriptInterpreterNone.cpp.
References CreateNoScriptingError(), error(), and GetUnavailableError().
|
overridevirtual |
Implements lldb_private::ScriptInterpreter.
Definition at line 59 of file ScriptInterpreterNone.cpp.
References lldb_private::CommandReturnObject::AppendError(), CreateNoScriptingError(), error(), GetUnavailableError(), and lldb_private::ScriptInterpreter::m_debugger.
|
static |
Definition at line 152 of file ScriptInterpreterNone.cpp.
Referenced by Initialize().
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 71 of file ScriptInterpreterNone.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 66 of file ScriptInterpreterNone.h.
Referenced by GetPluginName(), and Initialize().
|
private |
Returns the error recorded for the requested language, or success.
Definition at line 40 of file ScriptInterpreterNone.cpp.
References error(), lldb_private::PluginManager::GetScriptInterpreterError(), IsBuiltWith(), lldb_private::ScriptInterpreter::LanguageToString(), and m_requested_language.
Referenced by CollectDataForBreakpointCommandCallback(), CollectDataForWatchpointCommandCallback(), ExecuteInterpreterLoop(), ExecuteOneLine(), LoadScriptingModule(), SetBreakpointCommandCallback(), SetBreakpointCommandCallbackFunction(), and SetWatchpointCommandCallback().
|
static |
Definition at line 136 of file ScriptInterpreterNone.cpp.
References CreateInstance(), lldb::eScriptLanguageNone, GetPluginDescriptionStatic(), GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 79 of file ScriptInterpreterNone.cpp.
References error(), lldb_private::Status::FromError(), GetUnavailableError(), and lldb_private::ScriptInterpreter::LoadScriptingModule().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 110 of file ScriptInterpreterNone.cpp.
References GetUnavailableError(), and lldb_private::ScriptInterpreter::SetBreakpointCommandCallback().
|
overridevirtual |
Set a script function as the callback for the breakpoint.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 119 of file ScriptInterpreterNone.cpp.
References GetUnavailableError(), and lldb_private::ScriptInterpreter::SetBreakpointCommandCallbackFunction().
|
overridevirtual |
Set a one-liner as the callback for the watchpoint.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 128 of file ScriptInterpreterNone.cpp.
References GetUnavailableError(), and lldb_private::ScriptInterpreter::SetWatchpointCommandCallback().
|
static |
Definition at line 142 of file ScriptInterpreterNone.cpp.
References CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().
|
private |
Definition at line 77 of file ScriptInterpreterNone.h.
Referenced by GetUnavailableError(), and ScriptInterpreterNone().