This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
#include <Type.h>
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. |
Definition at line 509 of file Type.h.
static bool comma::DomainType::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::PrimaryType.
static bool comma::DomainType::classof | ( | const DomainType * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::PrimaryType.
bool comma::DomainType::denotesPercent | ( | ) | const [inline] |
AbstractDomainDecl * DomainType::getAbstractDecl | ( | ) |
If this node represents %, return the associated PercentDecl, else null.
const AbstractDomainDecl * DomainType::getAbstractDecl | ( | ) | const |
If this node is abstract, return underlying AbstractDomainDecl, else null.
DomainTypeDecl * DomainType::getDomainTypeDecl | ( | ) |
const DomainTypeDecl * DomainType::getDomainTypeDecl | ( | ) | const |
Return the associated DomainTypeDecl.
IdentifierInfo * DomainType::getIdInfo | ( | ) | const |
DomainInstanceDecl * DomainType::getInstanceDecl | ( | ) |
const DomainInstanceDecl * DomainType::getInstanceDecl | ( | ) | const |
If this node is concrete, return the underlying DomainInstanceDecl, else null.
PercentDecl * DomainType::getPercentDecl | ( | ) |
If this node represents %, return the associated PercentDecl, else null.
const PercentDecl * DomainType::getPercentDecl | ( | ) | const |
If this node represents %, return the associated PercentDecl, else null.
PrimaryType * DomainType::getRepresentationType | ( | ) |
If this node represents %, return the associated PercentDecl, else null.
const PrimaryType* comma::DomainType::getRepresentationType | ( | ) | const [inline] |
If this type is associated with a DomainInstanceDecl, returns the representation type of this domain, otherwise null.
const DomainType* comma::DomainType::getRootType | ( | ) | const [inline] |
If this node represents %, return the associated PercentDecl, else null.
Reimplemented from comma::PrimaryType.
DomainType* comma::DomainType::getRootType | ( | ) | [inline] |
Specialize PrimaryType::getRootType().
Reimplemented from comma::PrimaryType.
const char* comma::DomainType::getString | ( | ) | const [inline] |
bool comma::DomainType::isAbstract | ( | ) | const [inline] |
Returns true if the underlying declaration is an AbstractDomainDecl.
bool comma::DomainType::isConcrete | ( | ) | const [inline] |
Returns true if the underlying declaration is an DomainInstanceDecl.
friend class AstResource [friend] |
Domain types are allocated and managed by AstResource.