comma::TypeDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions



const PrimaryType * getType () const
 Returns the type defined by this type declaration.
PrimaryType * getType ()
 Returns the type defined by this type declaration.

Static Public Member Functions

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

Protected Member Functions

 TypeDecl (AstKind kind, IdentifierInfo *name, PrimaryType *type, Location loc, DeclRegion *region=0)
 TypeDecl (AstKind kind, IdentifierInfo *name, Location loc, DeclRegion *region=0)

Protected Attributes

PrimaryType * CorrespondingType

Detailed Description

Definition at line 1273 of file Decl.h.


Constructor & Destructor Documentation

comma::TypeDecl::TypeDecl ( AstKind  kind,
IdentifierInfo *  name,
PrimaryType *  type,
Location  loc,
DeclRegion *  region = 0 
) [inline, protected]

Definition at line 1289 of file Decl.h.

comma::TypeDecl::TypeDecl ( AstKind  kind,
IdentifierInfo *  name,
Location  loc,
DeclRegion *  region = 0 
) [inline, protected]

Definition at line 1298 of file Decl.h.


Member Function Documentation

static bool comma::TypeDecl::classof ( const Ast *  node  )  [inline, static]
static bool comma::TypeDecl::classof ( const TypeDecl *  node  )  [inline, static]
PrimaryType* comma::TypeDecl::getType (  )  [inline]

Returns the type defined by this type declaration.

Reimplemented in comma::IncompleteTypeDecl, comma::EnumerationDecl, comma::IntegerDecl, comma::ArrayDecl, comma::RecordDecl, comma::AccessDecl, and comma::DomainTypeDecl.

Definition at line 1279 of file Decl.h.

const PrimaryType* comma::TypeDecl::getType (  )  const [inline]

Returns the type defined by this type declaration.

Reimplemented in comma::IncompleteTypeDecl, comma::EnumerationDecl, comma::IntegerDecl, comma::ArrayDecl, comma::RecordDecl, comma::AccessDecl, and comma::DomainTypeDecl.

Definition at line 1278 of file Decl.h.


Member Data Documentation

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