]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Interpreter/CommandObjectScript.h
Merge ^/vendor/lldb/dist up to its last change, and resolve conflicts.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Interpreter / CommandObjectScript.h
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 liblldb_CommandObjectScript_h_
10 #define liblldb_CommandObjectScript_h_
11
12 #include "lldb/Interpreter/CommandObject.h"
13
14 namespace lldb_private {
15
16 // CommandObjectScript
17
18 class CommandObjectScript : public CommandObjectRaw {
19 public:
20   CommandObjectScript(CommandInterpreter &interpreter,
21                       lldb::ScriptLanguage script_lang);
22
23   ~CommandObjectScript() override;
24
25 protected:
26   bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override;
27 };
28
29 } // namespace lldb_private
30
31 #endif // liblldb_CommandObjectScript_h_