comma::FirstArrayAE Class Reference

#include <AttribExpr.h>

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

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

comma::FirstArrayAE::FirstArrayAE ( Expr prefix,
Expr dimension,
Location  loc 
) [inline]

Creates a First attribute expression with an explicit dimension.

Parameters:
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.

comma::FirstArrayAE::FirstArrayAE ( Expr prefix,
Location  loc 
) [inline]

Creates a First arribute expression with an implicit dimension of 1.

Parameters:
prefix An expression which must resolve to an array type.
loc the location of the attribute.

Definition at line 283 of file AttribExpr.h.


Member Function Documentation

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.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.