2010-06-09 00:52:24 +08:00
|
|
|
//===-- CommandObjectScript.h -----------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef liblldb_CommandObjectScript_h_
|
|
|
|
#define liblldb_CommandObjectScript_h_
|
|
|
|
|
|
|
|
// C Includes
|
|
|
|
// C++ Includes
|
|
|
|
// Other libraries and framework includes
|
|
|
|
// Project includes
|
|
|
|
#include "lldb/Interpreter/CommandObject.h"
|
|
|
|
|
|
|
|
namespace lldb_private {
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
// CommandObjectScript
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
2012-06-09 05:56:10 +08:00
|
|
|
class CommandObjectScript : public CommandObjectRaw
|
2010-06-09 00:52:24 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2010-09-18 09:14:36 +08:00
|
|
|
CommandObjectScript (CommandInterpreter &interpreter,
|
|
|
|
lldb::ScriptLanguage script_lang);
|
2010-06-09 00:52:24 +08:00
|
|
|
|
|
|
|
virtual
|
|
|
|
~CommandObjectScript ();
|
|
|
|
|
2012-06-09 05:56:10 +08:00
|
|
|
protected:
|
2010-06-09 00:52:24 +08:00
|
|
|
virtual bool
|
2012-06-09 05:56:10 +08:00
|
|
|
DoExecute (const char *command, CommandReturnObject &result);
|
2010-06-09 00:52:24 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace lldb_private
|
|
|
|
|
|
|
|
#endif // liblldb_CommandObjectScript_h_
|