forked from OSchip/llvm-project
63 lines
1.6 KiB
C++
63 lines
1.6 KiB
C++
//===-- ScriptInterpreterNone.h ---------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef liblldb_ScriptInterpreterNone_h_
|
|
#define liblldb_ScriptInterpreterNone_h_
|
|
|
|
#include "lldb/Interpreter/ScriptInterpreter.h"
|
|
|
|
namespace lldb_private
|
|
{
|
|
|
|
class ScriptInterpreterNone : public ScriptInterpreter
|
|
{
|
|
public:
|
|
ScriptInterpreterNone(CommandInterpreter &interpreter);
|
|
|
|
~ScriptInterpreterNone();
|
|
|
|
bool
|
|
ExecuteOneLine(const char *command, CommandReturnObject *result,
|
|
const ExecuteScriptOptions &options = ExecuteScriptOptions());
|
|
|
|
void
|
|
ExecuteInterpreterLoop();
|
|
|
|
//------------------------------------------------------------------
|
|
// Static Functions
|
|
//------------------------------------------------------------------
|
|
static void
|
|
Initialize();
|
|
|
|
static void
|
|
Terminate();
|
|
|
|
static lldb::ScriptInterpreterSP
|
|
CreateInstance(CommandInterpreter &interpreter);
|
|
|
|
static lldb_private::ConstString
|
|
GetPluginNameStatic();
|
|
|
|
static const char *
|
|
GetPluginDescriptionStatic();
|
|
|
|
//------------------------------------------------------------------
|
|
// PluginInterface protocol
|
|
//------------------------------------------------------------------
|
|
virtual lldb_private::ConstString
|
|
GetPluginName();
|
|
|
|
virtual uint32_t
|
|
GetPluginVersion();
|
|
};
|
|
|
|
} // namespace lldb_private
|
|
|
|
#endif // #ifndef liblldb_ScriptInterpreterNone_h_
|