1 //===-- CommandObjectScript.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_CommandObjectScript_h_
11 #define liblldb_CommandObjectScript_h_
13 #include "lldb/Interpreter/CommandObject.h"
15 namespace lldb_private {
17 //-------------------------------------------------------------------------
18 // CommandObjectScript
19 //-------------------------------------------------------------------------
21 class CommandObjectScript : public CommandObjectRaw {
23 CommandObjectScript(CommandInterpreter &interpreter,
24 lldb::ScriptLanguage script_lang);
26 ~CommandObjectScript() override;
29 bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override;
32 } // namespace lldb_private
34 #endif // liblldb_CommandObjectScript_h_