#include <AttribExpr.h>
Public Member Functions | |
LastArrayAE (Expr *prefix, Expr *dimension, Location loc) | |
LastArrayAE (Expr *prefix, Location loc) | |
Static Public Member Functions | |
static bool | classof (const LastArrayAE *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Represents the attribute A'Last(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 300 of file AttribExpr.h.
Creates a Last
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 311 of file AttribExpr.h.
Creates a Last
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 319 of file AttribExpr.h.
static bool comma::LastArrayAE::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::ArrayBoundAE.
Definition at line 324 of file AttribExpr.h.
static bool comma::LastArrayAE::classof | ( | const LastArrayAE * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::ArrayBoundAE.
Definition at line 323 of file AttribExpr.h.