Skip to content

varID

Synopsis

Declared in <src/midend/programAnalysis/genericDataflow/variables/variables.h>

class varID;

Member Functions

Name Description
varID
varID(); [constructor]
Constructors
equal
bool equal(varID const& two) const;
** COMPARISON ***
getScope
SgScopeStatement* getScope() const;
init
bool init(varID const& that);
isArrayType
bool isArrayType() const;
** SEMANTIC INFO ***
isCompilerGenerated
bool isCompilerGenerated() const;
isGlobal
bool isGlobal() const;
lessThan
bool lessThan(varID const& two) const;
str
std::string str() const;
** OUTPUT ***
toSgExpression
SgExpression* toSgExpression() const;
operator==
bool operator==(varID const& that) const;
Equality operator
operator!=
bool operator!=(varID const& that) const;
Inequality operator
operator<
bool operator<(varID const& that) const;
Less-than operator
operator<=
bool operator<=(varID const& that) const;
Less-than-or-equal operator
operator>
bool operator>(varID const& that) const;
Greater-than operator
operator>=
bool operator>=(varID const& that) const;
Greater-than-or-equal operator

Static Member Functions

Name
forExpression
static varID forExpression(SgExpression const* exp);
isValidVarExp
static bool isValidVarExp(SgExpression const* exp);

Data Members

Name
components
expression
name
varType

Protected Member Functions

Name
collectDotComponents
void collectDotComponents(SgDotExp const* dotExp);
toSgExpression_rec
SgExpression* toSgExpression_rec(std::vector<SgInitializedName*>::const_iterator rest) const;

Protected Static Member Functions

Name
isValidVarExp_rec
static bool isValidVarExp_rec(SgExpression const* exp);

Created with MrDocs