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_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/ScriptInterpreter.h"
19 namespace lldb_private {
21 class ScriptInterpreterNone : public ScriptInterpreter {
23 ScriptInterpreterNone(CommandInterpreter &interpreter);
25 ~ScriptInterpreterNone() override;
28 llvm::StringRef command, CommandReturnObject *result,
29 const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
31 void ExecuteInterpreterLoop() override;
33 //------------------------------------------------------------------
35 //------------------------------------------------------------------
36 static void Initialize();
38 static void Terminate();
40 static lldb::ScriptInterpreterSP
41 CreateInstance(CommandInterpreter &interpreter);
43 static lldb_private::ConstString GetPluginNameStatic();
45 static const char *GetPluginDescriptionStatic();
47 //------------------------------------------------------------------
48 // PluginInterface protocol
49 //------------------------------------------------------------------
50 lldb_private::ConstString GetPluginName() override;
52 uint32_t GetPluginVersion() override;
55 } // namespace lldb_private
57 #endif // liblldb_ScriptInterpreterNone_h_