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
14namespace lldb_private {
15
16// CommandObjectScript
17
18class CommandObjectScript : public CommandObjectRaw {
19public:
20  CommandObjectScript(CommandInterpreter &interpreter,
21                      lldb::ScriptLanguage script_lang);
22
23  ~CommandObjectScript() override;
24
25protected:
26  bool DoExecute(llvm::StringRef command, CommandReturnObject &result) override;
27};
28
29} // namespace lldb_private
30
31#endif // liblldb_CommandObjectScript_h_
32