ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arrayElt Class Reference

#include <variables.h>

Inheritance diagram for arrayElt:
Collaboration diagram for arrayElt:

Public Member Functions

 arrayElt (SgNode *expr)
 
 arrayElt (SgExpression *expr)
 
std::string str () const
 
bool operator== (const variable &that_arg) const
 
bool operator< (const variable &that) const
 
SgScopeStatementgetScope () const
 
const varIDgetArrayVar ()
 
std::list< SgExpression * > * getIndexExprs ()
 
SgExpressiontoSgExpression () const
 
bool isGlobal () const
 
- Public Member Functions inherited from variable
virtual ~variable ()
 

Static Public Member Functions

static bool isValidVarExp (const SgExpression *exp)
 

Protected Member Functions

SgPntrArrRefExptoSgExpression_rec (std::list< SgExpression * >::reverse_iterator itIndexes) const
 

Private Attributes

varID arrayVar
 
std::list< SgExpression * > * indexExprs
 

Detailed Description

Definition at line 348 of file variables.h.

Constructor & Destructor Documentation

arrayElt::arrayElt ( SgNode expr)
arrayElt::arrayElt ( SgExpression expr)

Member Function Documentation

std::string arrayElt::str ( ) const
virtual

Implements variable.

bool arrayElt::operator== ( const variable that_arg) const
virtual

Implements variable.

bool arrayElt::operator< ( const variable that) const
virtual

Implements variable.

static bool arrayElt::isValidVarExp ( const SgExpression exp)
static
SgScopeStatement* arrayElt::getScope ( ) const
virtual

Implements variable.

const varID& arrayElt::getArrayVar ( )
std::list<SgExpression*>* arrayElt::getIndexExprs ( )
SgExpression* arrayElt::toSgExpression ( ) const
virtual

Implements variable.

SgPntrArrRefExp* arrayElt::toSgExpression_rec ( std::list< SgExpression * >::reverse_iterator  itIndexes) const
protected
bool arrayElt::isGlobal ( ) const
virtual

Implements variable.

Member Data Documentation

varID arrayElt::arrayVar
private

Definition at line 350 of file variables.h.

std::list<SgExpression*>* arrayElt::indexExprs
private

Definition at line 351 of file variables.h.


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