1 //===-- CommandObjectScript.h -----------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_CommandObjectScript_h_
10 #define liblldb_CommandObjectScript_h_
12 #include "lldb/Interpreter/CommandObject.h"
14 namespace lldb_private {
16 // CommandObjectScript
18 class CommandObjectScript : public CommandObjectRaw {
20 CommandObjectScript(CommandInterpreter &interpreter,
21 lldb::ScriptLanguage script_lang);
23 ~CommandObjectScript() override;
26 bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override;
29 } // namespace lldb_private
31 #endif // liblldb_CommandObjectScript_h_