1 //===-- ScriptInterpreterNone.h ---------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_ScriptInterpreterNone_h_
11 #define liblldb_ScriptInterpreterNone_h_
13 #include "lldb/Interpreter/ScriptInterpreter.h"
15 namespace lldb_private {
17 class ScriptInterpreterNone : public ScriptInterpreter {
19 ScriptInterpreterNone(CommandInterpreter &interpreter);
21 ~ScriptInterpreterNone() override;
24 llvm::StringRef command, CommandReturnObject *result,
25 const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
27 void ExecuteInterpreterLoop() override;
29 //------------------------------------------------------------------
31 //------------------------------------------------------------------
32 static void Initialize();
34 static void Terminate();
36 static lldb::ScriptInterpreterSP
37 CreateInstance(CommandInterpreter &interpreter);
39 static lldb_private::ConstString GetPluginNameStatic();
41 static const char *GetPluginDescriptionStatic();
43 //------------------------------------------------------------------
44 // PluginInterface protocol
45 //------------------------------------------------------------------
46 lldb_private::ConstString GetPluginName() override;
48 uint32_t GetPluginVersion() override;
51 } // namespace lldb_private
53 #endif // liblldb_ScriptInterpreterNone_h_