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 <Decl.h>


Public Member Functions | |
| ComponentDecl * | addComponent (IdentifierInfo *name, Location loc, Type *type) |
| unsigned | numComponents () const |
| Returns the number of components provided by this record. | |
| const RecordType * | getType () const |
| Returns this first subtype defined by this record type declaration. | |
| RecordType * | getType () |
| Returns this first subtype defined by this record type declaration. | |
| const ComponentDecl * | getComponent (IdentifierInfo *name) const |
| Returns the component declaration with the given identifier. | |
| ComponentDecl * | getComponent (IdentifierInfo *name) |
| Returns this first subtype defined by this record type declaration. | |
| const ComponentDecl * | getComponent (unsigned i) const |
| Returns the i'th component declaration provided by this record. | |
| ComponentDecl * | getComponent (unsigned i) |
| Returns this first subtype defined by this record type declaration. | |
Static Public Member Functions | |
| static bool | classof (const RecordDecl *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Friends | |
| class | AstResource |
Definition at line 1731 of file Decl.h.
| ComponentDecl * RecordDecl::addComponent | ( | IdentifierInfo * | name, | |
| Location | loc, | |||
| Type * | type | |||
| ) |
Constructs a ComponentDecl and associates it with this record.
The order in which is method is called determines the order of the associated components.
| static bool comma::RecordDecl::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::TypeDecl.
| static bool comma::RecordDecl::classof | ( | const RecordDecl * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::TypeDecl.
| ComponentDecl * RecordDecl::getComponent | ( | unsigned | i | ) |
| const ComponentDecl* comma::RecordDecl::getComponent | ( | unsigned | i | ) | const [inline] |
| ComponentDecl * RecordDecl::getComponent | ( | IdentifierInfo * | name | ) |
| const ComponentDecl* comma::RecordDecl::getComponent | ( | IdentifierInfo * | name | ) | const [inline] |
| RecordType* comma::RecordDecl::getType | ( | ) | [inline] |
Returns this first subtype defined by this record type declaration.
Reimplemented from comma::TypeDecl.
| const RecordType* comma::RecordDecl::getType | ( | ) | const [inline] |
Returns this first subtype defined by this record type declaration.
Reimplemented from comma::TypeDecl.
| unsigned comma::RecordDecl::numComponents | ( | ) | const [inline] |
friend class AstResource [friend] |
1.6.1