comma::IndexedArrayExpr Class Reference

#include <Expr.h>

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

List of all members.

Public Member Functions

 IndexedArrayExpr (Expr *arrExpr, Expr **indices, unsigned numIndices)
unsigned getNumIndices () const
 Returns the number of indicies serving as subscripts.

Static Public Member Functions

static bool classof (const IndexedArrayExpr *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)



typedef Expr ** index_iterator
typedef Expr *const * const_index_iterator
ExprgetPrefix ()
const ExprgetPrefix () const
ExprgetIndex (unsigned i)
const ExprgetIndex (unsigned i) const
index_iterator begin_indices ()
index_iterator end_indices ()
const_index_iterator begin_indices () const
const_index_iterator end_indices () const

Detailed Description

Definition at line 282 of file Expr.h.


Member Typedef Documentation

Iterators over the index expressions.

Definition at line 316 of file Expr.h.

Iterators over the index expressions.

Definition at line 312 of file Expr.h.


Constructor & Destructor Documentation

IndexedArrayExpr::IndexedArrayExpr ( Expr arrExpr,
Expr **  indices,
unsigned  numIndices 
)

Definition at line 211 of file Expr.cpp.


Member Function Documentation

const_index_iterator comma::IndexedArrayExpr::begin_indices (  )  const [inline]

Iterators over the index expressions.

Definition at line 317 of file Expr.h.

index_iterator comma::IndexedArrayExpr::begin_indices (  )  [inline]

Iterators over the index expressions.

Definition at line 313 of file Expr.h.

static bool comma::IndexedArrayExpr::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::Expr.

Definition at line 323 of file Expr.h.

static bool comma::IndexedArrayExpr::classof ( const IndexedArrayExpr node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::Expr.

Definition at line 322 of file Expr.h.

const_index_iterator comma::IndexedArrayExpr::end_indices (  )  const [inline]

Iterators over the index expressions.

Definition at line 318 of file Expr.h.

index_iterator comma::IndexedArrayExpr::end_indices (  )  [inline]

Iterators over the index expressions.

Definition at line 314 of file Expr.h.

const Expr* comma::IndexedArrayExpr::getIndex ( unsigned  i  )  const [inline]

Iterators over the index expressions.

Definition at line 303 of file Expr.h.

Expr* comma::IndexedArrayExpr::getIndex ( unsigned  i  )  [inline]

Returns the i'th index expression.

Definition at line 298 of file Expr.h.

unsigned comma::IndexedArrayExpr::getNumIndices (  )  const [inline]

Returns the number of indicies serving as subscripts.

Definition at line 294 of file Expr.h.

const Expr* comma::IndexedArrayExpr::getPrefix (  )  const [inline]

Iterators over the index expressions.

Definition at line 290 of file Expr.h.

Expr* comma::IndexedArrayExpr::getPrefix (  )  [inline]

Returns the expression denoting the array to index.

Definition at line 289 of file Expr.h.


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

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.