comma::DomainTypeDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

virtual ~DomainTypeDecl ()
virtual const SignatureSetgetSignatureSet () const =0



const DomainTypegetType () const
 Returns the first subtype defined by this domain declaration.
DomainTypegetType ()
 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)

Detailed Description

Definition at line 1901 of file Decl.h.


Constructor & Destructor Documentation

DomainTypeDecl::DomainTypeDecl ( AstKind  kind,
AstResource resource,
IdentifierInfo name,
Location  loc = 0 
) [protected]

Definition at line 651 of file Decl.cpp.

virtual comma::DomainTypeDecl::~DomainTypeDecl (  )  [inline, virtual]

Definition at line 1908 of file Decl.h.


Member Function Documentation

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

Reimplemented from comma::TypeDecl.

Reimplemented in comma::AbstractDomainDecl, comma::DomainInstanceDecl, and comma::PercentDecl.

Definition at line 1930 of file Decl.h.

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.

Definition at line 1929 of file Decl.h.

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.

Definition at line 1924 of file Decl.h.

const DomainType* comma::DomainTypeDecl::getType (  )  const [inline]

Returns the first subtype defined by this domain declaration.

Reimplemented from comma::TypeDecl.

Definition at line 1921 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1