comma::ValueDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions



const TypegetType () const
 Returns the type of this value declaration.
TypegetType ()
 Returns the type of this value declaration.

Static Public Member Functions

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

Protected Member Functions

 ValueDecl (AstKind kind, IdentifierInfo *name, Type *type, Location loc)

Protected Attributes

TypecorrespondingType

Detailed Description

Definition at line 682 of file Decl.h.


Constructor & Destructor Documentation

comma::ValueDecl::ValueDecl ( AstKind  kind,
IdentifierInfo name,
Type type,
Location  loc 
) [inline, protected]

Definition at line 685 of file Decl.h.


Member Function Documentation

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

Reimplemented from comma::Decl.

Reimplemented in comma::ParamValueDecl, comma::ObjectDecl, comma::RenamedObjectDecl, and comma::LoopDecl.

Definition at line 699 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Decl.

Reimplemented in comma::ParamValueDecl, comma::ObjectDecl, comma::RenamedObjectDecl, and comma::LoopDecl.

Definition at line 698 of file Decl.h.

Type* comma::ValueDecl::getType (  )  [inline]

Returns the type of this value declaration.

Reimplemented in comma::LoopDecl.

Definition at line 695 of file Decl.h.

const Type* comma::ValueDecl::getType (  )  const [inline]

Returns the type of this value declaration.

Reimplemented in comma::LoopDecl.

Definition at line 694 of file Decl.h.


Member Data Documentation

Definition at line 704 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