#include <Decl.h>
Public Member Functions | |
virtual | ~DomainTypeDecl () |
virtual const SignatureSet & | getSignatureSet () const =0 |
const DomainType * | getType () const |
Returns the first subtype defined by this domain declaration. | |
DomainType * | getType () |
Returns the first subtype defined by this domain declaration. | |
Static Public Member Functions | |
static bool | classof (const DomainTypeDecl *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Protected Member Functions | |
DomainTypeDecl (AstKind kind, AstResource &resource, IdentifierInfo *name, Location loc=0) |
Definition at line 1901 of file Decl.h.
DomainTypeDecl::DomainTypeDecl | ( | AstKind | kind, | |
AstResource & | resource, | |||
IdentifierInfo * | name, | |||
Location | loc = 0 | |||
) | [protected] |
virtual comma::DomainTypeDecl::~DomainTypeDecl | ( | ) | [inline, virtual] |
static bool comma::DomainTypeDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::TypeDecl.
Reimplemented in comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.
static bool comma::DomainTypeDecl::classof | ( | const DomainTypeDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::TypeDecl.
Reimplemented in comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.
virtual const SignatureSet& comma::DomainTypeDecl::getSignatureSet | ( | ) | const [pure virtual] |
Returns the SignatureSet of this DomainTypeDecl.
The signatures of a DomainTypeDecl are a rewritten version of those provided by the defining domoid. In particular, references to % are replaced by references to this declarations type, and formal parameters (when the definition is a functor) are replaced by the actual parameters.
Implemented in comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.
DomainType* comma::DomainTypeDecl::getType | ( | ) | [inline] |
Returns the first subtype defined by this domain declaration.
Reimplemented from comma::TypeDecl.
const DomainType* comma::DomainTypeDecl::getType | ( | ) | const [inline] |
Returns the first subtype defined by this domain declaration.
Reimplemented from comma::TypeDecl.