1 //===-- ScriptInterpreterNone.cpp -------------------------------*- 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 #include "lldb/lldb-python.h"
12 #include "lldb/Interpreter/ScriptInterpreterNone.h"
13 #include "lldb/Core/Stream.h"
14 #include "lldb/Core/StringList.h"
15 #include "lldb/Core/Debugger.h"
16 #include "lldb/Interpreter/CommandInterpreter.h"
19 using namespace lldb_private;
21 ScriptInterpreterNone::ScriptInterpreterNone (CommandInterpreter &interpreter) :
22 ScriptInterpreter (interpreter, eScriptLanguageNone)
26 ScriptInterpreterNone::~ScriptInterpreterNone ()
31 ScriptInterpreterNone::ExecuteOneLine (const char *command, CommandReturnObject *, const ExecuteScriptOptions&)
33 m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script interpreter in this mode.\n");
38 ScriptInterpreterNone::ExecuteInterpreterLoop ()
40 m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script interpreter in this mode.\n");