comma::EnumerationDecl Class Reference
#include <Decl.h>
List of all members.
Detailed Description
Definition at line 1409 of file Decl.h.
Member Function Documentation
static bool comma::EnumerationDecl::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::EnumerationDecl::classof |
( |
const EnumerationDecl * |
node |
) |
[inline, static] |
const EnumLiteral * EnumerationDecl::findCharacterLiteral |
( |
char |
ch |
) |
const |
unsigned comma::EnumerationDecl::genBitsNeeded |
( |
|
) |
const |
void EnumerationDecl::generateImplicitDeclarations |
( |
AstResource & |
resource |
) |
|
Populates the declarative region of this type with all implicit operations. This must be called once the type has been constructed to gain access to the types operations.
Definition at line 967 of file Decl.cpp.
Returns a Pos or Val attribute corresponding to the given ID.
If the given ID does not correspond to an attribute defined for this type an assertion will fire.
Definition at line 1053 of file Decl.cpp.
Returns the first subtype of this enumeration type declaration.
Definition at line 1442 of file Decl.h.
const EnumerationType* comma::EnumerationDecl::getBaseSubtype |
( |
|
) |
const [inline] |
Returns the base subtype of this enumeration type declaration.
Definition at line 1439 of file Decl.h.
unsigned comma::EnumerationDecl::getEncoding |
( |
char |
ch |
) |
const [inline] |
Returns the first subtype of this enumeration type declaration.
Definition at line 1029 of file Decl.cpp.
const EnumLiteral * EnumerationDecl::getFirstLiteral |
( |
|
) |
const |
Returns the first enumeration literal defined by this declaration.
Definition at line 1024 of file Decl.cpp.
Returns the first subtype of this enumeration type declaration.
Definition at line 1043 of file Decl.cpp.
const EnumLiteral * EnumerationDecl::getLastLiteral |
( |
|
) |
const |
Returns the last enumeration literal defined by this declaration.
Definition at line 1038 of file Decl.cpp.
unsigned comma::EnumerationDecl::getNumLiterals |
( |
|
) |
const [inline] |
PosAD* comma::EnumerationDecl::getPosAttribute |
( |
|
) |
[inline] |
Returns the declaration corresponding to the Pos attribute.
Definition at line 1498 of file Decl.h.
Returns the first subtype of this enumeration type declaration.
Reimplemented from comma::TypeDecl.
Definition at line 1432 of file Decl.h.
Returns the first subtype of this enumeration type declaration.
Reimplemented from comma::TypeDecl.
Definition at line 1429 of file Decl.h.
ValAD* comma::EnumerationDecl::getValAttribute |
( |
|
) |
[inline] |
Returns the declaration corresponding to the Val attribute.
Definition at line 1501 of file Decl.h.
bool comma::EnumerationDecl::hasEncoding |
( |
char |
ch |
) |
const [inline] |
bool comma::EnumerationDecl::isCharacterType |
( |
|
) |
const [inline] |
bool comma::EnumerationDecl::isSubtypeDeclaration |
( |
|
) |
const [inline] |
Returns true if this declaration denotes a subtype declaration.
Definition at line 1420 of file Decl.h.
void comma::EnumerationDecl::markAsCharacterType |
( |
|
) |
[inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: