blob: 47bf85f8549e28dfa8bbb9259adced1a1432edec [file] [log] [blame]
Chris Lattner24943d22010-06-08 16:52:24 +00001//===-- CommandObjectSyntax.h -----------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_CommandObjectSyntax_h_
11#define liblldb_CommandObjectSyntax_h_
12
13// C Includes
14// C++ Includes
15// Other libraries and framework includes
16// Project includes
17#include "lldb/Interpreter/CommandObject.h"
18
19namespace lldb_private {
20
21//-------------------------------------------------------------------------
22// CommandObjectSyntax
23//-------------------------------------------------------------------------
24
Jim Inghamda26bd22012-06-08 21:56:10 +000025class CommandObjectSyntax : public CommandObjectParsed
Chris Lattner24943d22010-06-08 16:52:24 +000026{
27public:
28
Greg Clayton238c0a12010-09-18 01:14:36 +000029 CommandObjectSyntax (CommandInterpreter &interpreter);
Chris Lattner24943d22010-06-08 16:52:24 +000030
31 virtual
32 ~CommandObjectSyntax ();
Chris Lattner24943d22010-06-08 16:52:24 +000033
Jim Inghamda26bd22012-06-08 21:56:10 +000034protected:
Chris Lattner24943d22010-06-08 16:52:24 +000035 virtual bool
Jim Inghamda26bd22012-06-08 21:56:10 +000036 DoExecute (Args& command,
Chris Lattner24943d22010-06-08 16:52:24 +000037 CommandReturnObject &result);
38
39
40};
41
42} // namespace lldb_private
43
44#endif // liblldb_CommandObjectSyntax_h_