comma::DomainType Class Reference
#include <Type.h>
List of all members.
Public Member Functions |
IdentifierInfo * | getIdInfo () const |
| Returns the defining identifier of this type.
|
const char * | getString () const |
| Returns the defining identifier of this type as a C-string.
|
bool | denotesPercent () const |
| Returns true if this node is a percent node.
|
bool | isConcrete () const |
| Returns true if the underlying declaration is an DomainInstanceDecl.
|
bool | isAbstract () const |
| Returns true if the underlying declaration is an AbstractDomainDecl.
|
const DomainTypeDecl * | getDomainTypeDecl () const |
| Return the associated DomainTypeDecl.
|
DomainTypeDecl * | getDomainTypeDecl () |
const DomainInstanceDecl * | getInstanceDecl () const |
DomainInstanceDecl * | getInstanceDecl () |
|
|
const PercentDecl * | getPercentDecl () const |
| If this node represents %, return the associated PercentDecl, else null.
|
PercentDecl * | getPercentDecl () |
| If this node represents %, return the associated PercentDecl, else null.
|
const AbstractDomainDecl * | getAbstractDecl () const |
AbstractDomainDecl * | getAbstractDecl () |
| If this node represents %, return the associated PercentDecl, else null.
|
const PrimaryType * | getRepresentationType () const |
PrimaryType * | getRepresentationType () |
| If this node represents %, return the associated PercentDecl, else null.
|
DomainType * | getRootType () |
| Specialize PrimaryType::getRootType().
|
const DomainType * | getRootType () const |
| If this node represents %, return the associated PercentDecl, else null.
|
Static Public Member Functions |
static bool | classof (const DomainType *node) |
| Support isa and dyn_cast.
|
static bool | classof (const Ast *node) |
Friends |
class | AstResource |
| Domain types are allocated and managed by AstResource.
|
Detailed Description
Definition at line 509 of file Type.h.
Member Function Documentation
static bool comma::DomainType::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::DomainType::classof |
( |
const DomainType * |
node |
) |
[inline, static] |
bool comma::DomainType::denotesPercent |
( |
|
) |
const [inline] |
Returns true if this node is a percent node.
Definition at line 519 of file Type.h.
If this node represents %, return the associated PercentDecl, else null.
Definition at line 348 of file Type.cpp.
Returns the defining identifier of this type.
Definition at line 293 of file Type.cpp.
If this node represents %, return the associated PercentDecl, else null.
Definition at line 328 of file Type.cpp.
const PercentDecl * DomainType::getPercentDecl |
( |
|
) |
const |
If this node represents %, return the associated PercentDecl, else null.
Definition at line 323 of file Type.cpp.
If this node represents %, return the associated PercentDecl, else null.
Definition at line 300 of file Type.cpp.
const PrimaryType* comma::DomainType::getRepresentationType |
( |
|
) |
const [inline] |
If this type is associated with a DomainInstanceDecl, returns the representation type of this domain, otherwise null.
Definition at line 556 of file Type.h.
const DomainType* comma::DomainType::getRootType |
( |
|
) |
const [inline] |
DomainType* comma::DomainType::getRootType |
( |
|
) |
[inline] |
const char* comma::DomainType::getString |
( |
|
) |
const [inline] |
Returns the defining identifier of this type as a C-string.
Definition at line 516 of file Type.h.
bool comma::DomainType::isAbstract |
( |
|
) |
const [inline] |
bool comma::DomainType::isConcrete |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: