1 //===-- CommandObjectScript.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_CommandObjectScript_h_ 11 #define liblldb_CommandObjectScript_h_ 12 13 // C Includes 14 // C++ Includes 15 // Other libraries and framework includes 16 // Project includes 17 #include "lldb/Interpreter/CommandObject.h" 18 19 namespace lldb_private { 20 21 //------------------------------------------------------------------------- 22 // CommandObjectScript 23 //------------------------------------------------------------------------- 24 25 class CommandObjectScript : public CommandObjectRaw { 26 public: 27 CommandObjectScript(CommandInterpreter &interpreter, 28 lldb::ScriptLanguage script_lang); 29 30 ~CommandObjectScript() override; 31 32 protected: 33 bool DoExecute(const char *command, CommandReturnObject &result) override; 34 }; 35 36 } // namespace lldb_private 37 38 #endif // liblldb_CommandObjectScript_h_ 39