public final class FieldRefVarExpr extends CloneableVariable
Modifier and Type | Field and Description |
---|---|
FieldRef |
fieldRef |
SubscriptPair |
subscript |
int |
uniqueNum |
java.lang.String |
varId |
Constructor and Description |
---|
FieldRefVarExpr(FieldRef fieldRef,
SubscriptPair subscript) |
FieldRefVarExpr(FieldRef fieldRef,
SubscriptPair subscript,
int uniqueNum) |
Modifier and Type | Method and Description |
---|---|
void |
accept(za.ac.sun.cs.green.expr.Visitor visitor) |
FieldRefVarExpr |
clone() |
boolean |
equals(java.lang.Object o) |
int |
getLeftLength() |
int |
getLength() |
java.util.List<java.lang.String> |
getOperationVector() |
java.lang.String |
getSymName() |
int |
hashCode() |
FieldRefVarExpr |
makeUnique(int unique) |
int |
numVar() |
int |
numVarLeft() |
java.lang.String |
toString() |
public final FieldRef fieldRef
public final SubscriptPair subscript
public java.lang.String varId
public int uniqueNum
public FieldRefVarExpr(FieldRef fieldRef, SubscriptPair subscript)
public FieldRefVarExpr(FieldRef fieldRef, SubscriptPair subscript, int uniqueNum)
public void accept(za.ac.sun.cs.green.expr.Visitor visitor) throws za.ac.sun.cs.green.expr.VisitorException
accept
in class za.ac.sun.cs.green.expr.Expression
za.ac.sun.cs.green.expr.VisitorException
public boolean equals(java.lang.Object o)
equals
in class CloneableVariable
public java.lang.String toString()
toString
in class za.ac.sun.cs.green.expr.Expression
public int getLength()
getLength
in class za.ac.sun.cs.green.expr.Expression
public int getLeftLength()
getLeftLength
in class za.ac.sun.cs.green.expr.Expression
public int numVar()
numVar
in class za.ac.sun.cs.green.expr.Expression
public int numVarLeft()
numVarLeft
in class za.ac.sun.cs.green.expr.Expression
public java.util.List<java.lang.String> getOperationVector()
getOperationVector
in class za.ac.sun.cs.green.expr.Expression
public java.lang.String getSymName()
public FieldRefVarExpr clone()
clone
in class CloneableVariable
public FieldRefVarExpr makeUnique(int unique) throws StaticRegionException
makeUnique
in class CloneableVariable
StaticRegionException
public int hashCode()
hashCode
in class CloneableVariable