1 //===-- CommandObjectScript.h -----------------------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H 10 #define LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H 11 12 #include "lldb/Interpreter/CommandObject.h" 13 14 namespace lldb_private { 15 16 class CommandObjectScript : public CommandObjectRaw { 17 public: 18 CommandObjectScript(CommandInterpreter &interpreter); 19 ~CommandObjectScript() override; 20 21 protected: 22 bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override; 23 }; 24 25 } // namespace lldb_private 26 27 #endif // LLDB_SOURCE_INTERPRETER_COMMANDOBJECTSCRIPT_H 28