#include <Decl.h>
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 |
Definition at line 1273 of file Decl.h.
comma::TypeDecl::TypeDecl | ( | AstKind | kind, | |
IdentifierInfo * | name, | |||
PrimaryType * | type, | |||
Location | loc, | |||
DeclRegion * | region = 0 | |||
) | [inline, protected] |
comma::TypeDecl::TypeDecl | ( | AstKind | kind, | |
IdentifierInfo * | name, | |||
Location | loc, | |||
DeclRegion * | region = 0 | |||
) | [inline, protected] |
static bool comma::TypeDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::Decl.
Reimplemented in comma::IncompleteTypeDecl, comma::CarrierDecl, comma::EnumerationDecl, comma::IntegerDecl, comma::ArrayDecl, comma::RecordDecl, comma::AccessDecl, comma::DomainTypeDecl, comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.
static bool comma::TypeDecl::classof | ( | const TypeDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::Decl.
Reimplemented in comma::IncompleteTypeDecl, comma::CarrierDecl, comma::EnumerationDecl, comma::IntegerDecl, comma::ArrayDecl, comma::RecordDecl, comma::AccessDecl, comma::DomainTypeDecl, comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.
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.
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.
PrimaryType* comma::TypeDecl::CorrespondingType [protected] |