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/StreamFile.h"
15 #include "lldb/Core/StringList.h"
16 #include "lldb/Core/Debugger.h"
17 #include "lldb/Interpreter/CommandInterpreter.h"
20 using namespace lldb_private;
22 ScriptInterpreterNone::ScriptInterpreterNone (CommandInterpreter &interpreter) :
23 ScriptInterpreter (interpreter, eScriptLanguageNone)
27 ScriptInterpreterNone::~ScriptInterpreterNone ()
32 ScriptInterpreterNone::ExecuteOneLine (const char *command, CommandReturnObject *, const ExecuteScriptOptions&)
34 m_interpreter.GetDebugger().GetErrorFile()->PutCString ("error: there is no embedded script interpreter in this mode.\n");
39 ScriptInterpreterNone::ExecuteInterpreterLoop ()
41 m_interpreter.GetDebugger().GetErrorFile()->PutCString ("error: there is no embedded script interpreter in this mode.\n");