comma::IntegerDecl Class Reference
#include <Decl.h>
List of all members.
Detailed Description
Definition at line 1553 of file Decl.h.
Member Function Documentation
static bool comma::IntegerDecl::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::IntegerDecl::classof |
( |
const IntegerDecl * |
node |
) |
[inline, static] |
void IntegerDecl::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 1136 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 1162 of file Decl.cpp.
IntegerType* comma::IntegerDecl::getBaseSubtype |
( |
|
) |
[inline] |
Returns the subtype defined by this integer declaration.
This method returns the first subtype of this declaration, or in the special case of root_integer, the unconstrained base subtype.
Definition at line 1582 of file Decl.h.
const IntegerType* comma::IntegerDecl::getBaseSubtype |
( |
|
) |
const [inline] |
Returns the base subtype of this integer type declaration.
Definition at line 1579 of file Decl.h.
const Expr* comma::IntegerDecl::getHighBoundExpr |
( |
|
) |
const [inline] |
Returns the subtype defined by this integer declaration.
This method returns the first subtype of this declaration, or in the special case of root_integer, the unconstrained base subtype.
Definition at line 1598 of file Decl.h.
Expr* comma::IntegerDecl::getHighBoundExpr |
( |
|
) |
[inline] |
Returns the expression denoting the upper bound of this integer declaration.
Definition at line 1597 of file Decl.h.
const Expr* comma::IntegerDecl::getLowBoundExpr |
( |
|
) |
const [inline] |
Returns the subtype defined by this integer declaration.
This method returns the first subtype of this declaration, or in the special case of root_integer, the unconstrained base subtype.
Definition at line 1591 of file Decl.h.
Expr* comma::IntegerDecl::getLowBoundExpr |
( |
|
) |
[inline] |
Returns the expression denoting the lower bound of this integer declaration.
Definition at line 1590 of file Decl.h.
PosAD* comma::IntegerDecl::getPosAttribute |
( |
|
) |
[inline] |
Returns the declaration corresponding to the Pos attribute.
Definition at line 1602 of file Decl.h.
Returns the subtype defined by this integer declaration.
This method returns the first subtype of this declaration, or in the special case of root_integer, the unconstrained base subtype.
Reimplemented from comma::TypeDecl.
Definition at line 1572 of file Decl.h.
const IntegerType* comma::IntegerDecl::getType |
( |
|
) |
const [inline] |
Returns the subtype defined by this integer declaration.
This method returns the first subtype of this declaration, or in the special case of root_integer, the unconstrained base subtype.
Reimplemented from comma::TypeDecl.
Definition at line 1569 of file Decl.h.
ValAD* comma::IntegerDecl::getValAttribute |
( |
|
) |
[inline] |
Returns the declaration corresponding to the Val attribute.
Definition at line 1605 of file Decl.h.
bool comma::IntegerDecl::isSubtypeDeclaration |
( |
|
) |
const [inline] |
Returns true if this declaration declares an integer subtype.
Definition at line 1557 of file Decl.h.
Friends And Related Function Documentation
The documentation for this class was generated from the following files: