Represents a First
or 'c Last attribute when applied to a scalar subtype.
More...
#include <AttribExpr.h>
Public Member Functions | |
virtual | ~ScalarBoundAE () |
bool | isFirst () const |
Returns true if this is a First attribute. | |
bool | isLast () const |
Returns true if this is a Last attribute. | |
const DiscreteType * | getPrefix () const |
Specializations of AttribExpr::getPrefix(). | |
DiscreteType * | getPrefix () |
Specializations of AttribExpr::getPrefix(). | |
const DiscreteType * | getType () const |
Specializations of Expr::getType(). | |
DiscreteType * | getType () |
Specializations of AttribExpr::getPrefix(). | |
Static Public Member Functions | |
static bool | classof (const ScalarBoundAE *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Protected Member Functions | |
ScalarBoundAE (AstKind kind, DiscreteType *prefix, Location loc) |
Represents a First
or 'c Last attribute when applied to a scalar subtype.
Definition at line 79 of file AttribExpr.h.
virtual comma::ScalarBoundAE::~ScalarBoundAE | ( | ) | [inline, virtual] |
Definition at line 82 of file AttribExpr.h.
comma::ScalarBoundAE::ScalarBoundAE | ( | AstKind | kind, | |
DiscreteType * | prefix, | |||
Location | loc | |||
) | [inline, protected] |
Definition at line 118 of file AttribExpr.h.
static bool comma::ScalarBoundAE::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::AttribExpr.
Reimplemented in comma::FirstAE, and comma::LastAE.
Definition at line 112 of file AttribExpr.h.
static bool comma::ScalarBoundAE::classof | ( | const ScalarBoundAE * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::AttribExpr.
Reimplemented in comma::FirstAE, and comma::LastAE.
Definition at line 111 of file AttribExpr.h.
DiscreteType* comma::ScalarBoundAE::getPrefix | ( | ) | [inline] |
Specializations of AttribExpr::getPrefix().
Reimplemented from comma::AttribExpr.
Definition at line 95 of file AttribExpr.h.
const DiscreteType* comma::ScalarBoundAE::getPrefix | ( | ) | const [inline] |
Specializations of AttribExpr::getPrefix().
Reimplemented from comma::AttribExpr.
Definition at line 92 of file AttribExpr.h.
DiscreteType* comma::ScalarBoundAE::getType | ( | ) | [inline] |
Specializations of AttribExpr::getPrefix().
Definition at line 105 of file AttribExpr.h.
const DiscreteType* comma::ScalarBoundAE::getType | ( | ) | const [inline] |
Specializations of Expr::getType().
Reimplemented from comma::Expr.
Definition at line 102 of file AttribExpr.h.
bool comma::ScalarBoundAE::isFirst | ( | ) | const [inline] |
Returns true if this is a First
attribute.
Definition at line 85 of file AttribExpr.h.
bool comma::ScalarBoundAE::isLast | ( | ) | const [inline] |
Returns true if this is a Last
attribute.
Definition at line 88 of file AttribExpr.h.