#include <Type.h>


Public Member Functions | |
| IdentifierInfo * | getIdInfo () const |
| Returns the identifier associated with this record type. | |
| unsigned | numComponents () const |
| Returns the number of components defined by this record type. | |
| bool | isConstrained () const |
| Currently, record types are always constrained. | |
| RecordType * | getRootType () |
| Specialize PrimaryType::getRootType(). | |
| const RecordType * | getRootType () const |
| Specialize PrimaryType::getRootType(). | |
| const RecordDecl * | getDefiningDecl () const |
| Returns the declaration node that defined this record type. | |
| RecordDecl * | getDefiningDecl () |
| Specialize PrimaryType::getRootType(). | |
| const Type * | getComponentType (unsigned i) const |
| Returns the type of the i'th component of this record. | |
| Type * | getComponentType (unsigned i) |
| Specialize PrimaryType::getRootType(). | |
Static Public Member Functions | |
| static bool | classof (const RecordType *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Friends | |
| class | AstResource |
Definition at line 1138 of file Type.h.
| static bool comma::RecordType::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::CompositeType.
| static bool comma::RecordType::classof | ( | const RecordType * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::CompositeType.
| Type * RecordType::getComponentType | ( | unsigned | i | ) |
Specialize PrimaryType::getRootType().
| const Type* comma::RecordType::getComponentType | ( | unsigned | i | ) | const [inline] |
| RecordDecl * RecordType::getDefiningDecl | ( | ) |
Specialize PrimaryType::getRootType().
| const RecordDecl* comma::RecordType::getDefiningDecl | ( | ) | const [inline] |
| IdentifierInfo * RecordType::getIdInfo | ( | ) | const |
| const RecordType* comma::RecordType::getRootType | ( | ) | const [inline] |
Specialize PrimaryType::getRootType().
Reimplemented from comma::PrimaryType.
| RecordType* comma::RecordType::getRootType | ( | ) | [inline] |
Specialize PrimaryType::getRootType().
Reimplemented from comma::PrimaryType.
| bool comma::RecordType::isConstrained | ( | ) | const [inline, virtual] |
Currently, record types are always constrained.
Reimplemented from comma::PrimaryType.
| unsigned RecordType::numComponents | ( | ) | const |
friend class AstResource [friend] |
1.6.1