#include <AttribExpr.h>
Public Member Functions | |
FirstArrayAE (Expr *prefix, Expr *dimension, Location loc) | |
FirstArrayAE (Expr *prefix, Location loc) | |
Static Public Member Functions | |
static bool | classof (const FirstArrayAE *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Represents the attribute A'First(N)
, where A
is an object of array type and N
is a positive static integer expression denoting the dimension to which the attribute applies. The dimension is not required to be explicit, in which case the index defaults to 1.
Definition at line 264 of file AttribExpr.h.
Creates a First
attribute expression with an explicit dimension.
prefix | An expression which must resolve to an array type. | |
dimension | A positive static integer expression which does not exceed the dimensionality of the type of prefix . | |
loc | the location of the attribute. |
Definition at line 275 of file AttribExpr.h.
Creates a First
arribute expression with an implicit dimension of 1.
prefix | An expression which must resolve to an array type. | |
loc | the location of the attribute. |
Definition at line 283 of file AttribExpr.h.
static bool comma::FirstArrayAE::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::ArrayBoundAE.
Definition at line 288 of file AttribExpr.h.
static bool comma::FirstArrayAE::classof | ( | const FirstArrayAE * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::ArrayBoundAE.
Definition at line 287 of file AttribExpr.h.