public class ExprBoundaryVisitor extends ExprMapVisitor implements ExprVisitor<za.ac.sun.cs.green.expr.Expression>
Modifier and Type | Field and Description |
---|---|
private java.util.HashSet<java.lang.Integer> |
allUses |
private java.lang.Integer |
firstUse |
private java.lang.Integer |
lastUse |
private boolean |
seenFirstUse |
eva
Constructor and Description |
---|
ExprBoundaryVisitor() |
Modifier and Type | Method and Description |
---|---|
java.util.HashSet<java.lang.Integer> |
getAllUses() |
java.lang.Integer |
getFirstUse() |
java.lang.Integer |
getLastUse() |
za.ac.sun.cs.green.expr.Expression |
visit(WalaVarExpr expr) |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
private boolean seenFirstUse
private java.lang.Integer firstUse
private java.lang.Integer lastUse
private java.util.HashSet<java.lang.Integer> allUses
public za.ac.sun.cs.green.expr.Expression visit(WalaVarExpr expr)
visit
in interface ExprVisitor<za.ac.sun.cs.green.expr.Expression>
visit
in class ExprMapVisitor
public java.lang.Integer getFirstUse()
public java.lang.Integer getLastUse()
public java.util.HashSet<java.lang.Integer> getAllUses()