comma::ObjectDecl Class Reference

#include <Decl.h>

Inheritance diagram for comma::ObjectDecl:
Inheritance graph
[legend]
Collaboration diagram for comma::ObjectDecl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectDecl (IdentifierInfo *name, Type *type, Location loc, Expr *init=0)
bool hasInitializer () const
ExprgetInitializer () const
void setInitializer (Expr *init)

Static Public Member Functions

static bool classof (const ObjectDecl *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Detailed Description

Definition at line 759 of file Decl.h.


Constructor & Destructor Documentation

comma::ObjectDecl::ObjectDecl ( IdentifierInfo name,
Type type,
Location  loc,
Expr init = 0 
) [inline]

Definition at line 762 of file Decl.h.


Member Function Documentation

static bool comma::ObjectDecl::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::ValueDecl.

Definition at line 783 of file Decl.h.

static bool comma::ObjectDecl::classof ( const ObjectDecl node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::ValueDecl.

Definition at line 782 of file Decl.h.

Expr* comma::ObjectDecl::getInitializer (  )  const [inline]

Definition at line 775 of file Decl.h.

bool comma::ObjectDecl::hasInitializer (  )  const [inline]

Definition at line 771 of file Decl.h.

void comma::ObjectDecl::setInitializer ( Expr init  )  [inline]

Definition at line 779 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1