comma::ScalarBoundAE Class Reference

Represents a First or 'c Last attribute when applied to a scalar subtype. More...

#include <AttribExpr.h>

Inheritance diagram for comma::ScalarBoundAE:
Inheritance graph
[legend]
Collaboration diagram for comma::ScalarBoundAE:
Collaboration graph
[legend]

List of all members.

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 DiscreteTypegetPrefix () const
 Specializations of AttribExpr::getPrefix().
DiscreteTypegetPrefix ()
 Specializations of AttribExpr::getPrefix().
const DiscreteTypegetType () const
 Specializations of Expr::getType().
DiscreteTypegetType ()
 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)

Detailed Description

Represents a First or 'c Last attribute when applied to a scalar subtype.

Definition at line 79 of file AttribExpr.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1