ROSE  0.11.145.0
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
varID Class Reference

Description

Definition at line 62 of file variables.h.

Inheritance diagram for varID:
Inheritance graph
[legend]
Collaboration diagram for varID:
Collaboration graph
[legend]

Public Member Functions

 varID (std::string name)
 
 varID (SgNode *n)
 
 varID (SgInitializedName *name)
 
 varID (const SgExpression *exp)
 
 varID (const varID &that)
 
bool init (const varID &that)
 
bool init (SgNode *n)
 
bool init (const SgExpression *exp)
 
bool init (SgInitializedName *name)
 
void operator= (const variable &that)
 
bool collectDotComponents (const SgDotExp *dotExp)
 
SgScopeStatementgetScope () const
 
SgExpressiontoSgExpression () const
 
void add (SgInitializedName *name)
 
bool addAnnotation (const std::string &aName, void *annot)
 
bool remAnnotation (const std::string &aName)
 
bool remAllAnnotations ()
 
bool swapAnnotations (const std::string &fromAnnotName, void *fromAnnotVal, const std::string &toAnnotName, void *toAnnotVal)
 
void * getAnnotation (const std::string &aName) const
 
bool hasAnnotation (const std::string &aName) const
 
bool hasAnyAnnotation (const std::set< std::string > &aNames) const
 
bool hasAllAnnotations (const std::set< std::string > &aNames) const
 
int numAnnotations () const
 
const std::map< std::string, void * > & getAnnotations () const
 
bool equal (const varID &two) const
 
bool lessThan (const varID &two) const
 
bool operator== (const variable &that) const
 
bool operator!= (const varID &that) const
 
bool operator< (const variable &that) const
 
bool operator> (const varID &that) const
 
bool operator<= (const varID &that) const
 
bool operator>= (const varID &that) const
 
std::string str () const
 
std::string str (bool noAnnot) const
 
std::string str_linenum () const
 
std::string str_ptr () const
 
bool isArrayType () const
 
bool isCompilerGenerated () const
 
bool isGlobal () const
 
long getID () const
 

Static Public Member Functions

static bool isValidVarExp (const SgNode *exp)
 
static bool isValidVarExp (const SgExpression *exp)
 
static bool isValidVarExp (const SgInitializedName *exp)
 

Public Attributes

std::vector< SgInitializedName * > components
 
std::map< std::string, void * > annotations
 
SgTypevarType
 
std::string name
 

Protected Member Functions

SgExpressiontoSgExpression_rec (std::vector< SgInitializedName * >::const_iterator rest) const
 

Static Protected Member Functions

static bool isValidVarExp_rec (const SgExpression *exp)
 

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