klee::expr::Decl Class Reference

Decl - Base class for top level declarations. More...

#include <Parser.h>

Inheritance diagram for klee::expr::Decl:

Inheritance graph
[legend]

List of all members.

Public Types

enum  DeclKind {
  ArrayDeclKind, ExprVarDeclKind, VersionVarDeclKind, QueryCommandDeclKind,
  DeclKindLast = QueryCommandDeclKind, VarDeclKindFirst = ExprVarDeclKind, VarDeclKindLast = VersionVarDeclKind, CommandDeclKindFirst = QueryCommandDeclKind,
  CommandDeclKindLast = QueryCommandDeclKind
}

Public Member Functions

 Decl (DeclKind _Kind)
virtual ~Decl ()
DeclKind getKind () const
 getKind - Get the decl kind.
virtual void dump ()=0
 dump - Dump the AST node to stderr.

Static Public Member Functions

static bool classof (const Decl *)

Private Attributes

DeclKind Kind


Detailed Description

Decl - Base class for top level declarations.

Definition at line 39 of file Parser.h.


Member Enumeration Documentation

Enumerator:
ArrayDeclKind 
ExprVarDeclKind 
VersionVarDeclKind 
QueryCommandDeclKind 
DeclKindLast 
VarDeclKindFirst 
VarDeclKindLast 
CommandDeclKindFirst 
CommandDeclKindLast 

Definition at line 41 of file Parser.h.


Constructor & Destructor Documentation

Decl::Decl ( DeclKind  _Kind  ) 

Definition at line 1371 of file Parser.cpp.

virtual klee::expr::Decl::~Decl (  )  [inline, virtual]

Definition at line 59 of file Parser.h.


Member Function Documentation

static bool klee::expr::Decl::classof ( const Decl  )  [inline, static]

virtual void klee::expr::Decl::dump (  )  [pure virtual]

dump - Dump the AST node to stderr.

Implemented in klee::expr::ArrayDecl, and klee::expr::QueryCommand.

DeclKind klee::expr::Decl::getKind (  )  const [inline]

getKind - Get the decl kind.

Definition at line 62 of file Parser.h.

References Kind.

Referenced by klee::expr::QueryCommand::classof(), klee::expr::CommandDecl::classof(), klee::expr::VersionVarDecl::classof(), klee::expr::ExprVarDecl::classof(), klee::expr::VarDecl::classof(), and klee::expr::ArrayDecl::classof().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 55 of file Parser.h.

Referenced by getKind().


The documentation for this class was generated from the following files:

Generated on Fri Jun 5 03:33:41 2009 for klee by  doxygen 1.5.8