1//===-- ScriptInterpreterNone.h ---------------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_ScriptInterpreterNone_h_
11#define liblldb_ScriptInterpreterNone_h_
12
13// C Includes
14// C++ Includes
15// Other libraries and framework includes
16// Project includes
17#include "lldb/Interpreter/ScriptInterpreter.h"
18
19namespace lldb_private
20{
21
22class ScriptInterpreterNone : public ScriptInterpreter
23{
24  public:
25    ScriptInterpreterNone(CommandInterpreter &interpreter);
26
27    ~ScriptInterpreterNone() override;
28
29    bool
30    ExecuteOneLine(const char *command, CommandReturnObject *result,
31                   const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
32
33    void
34    ExecuteInterpreterLoop() override;
35
36    //------------------------------------------------------------------
37    // Static Functions
38    //------------------------------------------------------------------
39    static void
40    Initialize();
41
42    static void
43    Terminate();
44
45    static lldb::ScriptInterpreterSP
46    CreateInstance(CommandInterpreter &interpreter);
47
48    static lldb_private::ConstString
49    GetPluginNameStatic();
50
51    static const char *
52    GetPluginDescriptionStatic();
53
54    //------------------------------------------------------------------
55    // PluginInterface protocol
56    //------------------------------------------------------------------
57    lldb_private::ConstString
58    GetPluginName() override;
59
60    uint32_t
61    GetPluginVersion() override;
62};
63
64} // namespace lldb_private
65
66#endif // liblldb_ScriptInterpreterNone_h_
67