public class LocalOutputInvariantVisitor extends AstMapVisitor
Modifier and Type | Field and Description |
---|---|
(package private) ExprVisitorAdapter<za.ac.sun.cs.green.expr.Expression> |
eva |
java.util.List<AssignmentStmt> |
gammaStmts |
java.util.List<java.lang.Integer> |
gammaWalaVarDefs |
exprVisitor
Modifier | Constructor and Description |
---|---|
private |
LocalOutputInvariantVisitor(StaticRegion staticRegion) |
Modifier and Type | Method and Description |
---|---|
static boolean |
execute(StaticRegion staticRegion) |
Stmt |
visit(ArrayLengthInstruction c) |
Stmt |
visit(ArrayLoadInstruction c) |
Stmt |
visit(ArrayStoreInstruction c) |
Stmt |
visit(AssignmentStmt a) |
Stmt |
visit(CheckCastInstruction c) |
Stmt |
visit(CompositionStmt a) |
Stmt |
visit(GetInstruction c) |
Stmt |
visit(IfThenElseStmt a) |
Stmt |
visit(InstanceOfInstruction c) |
Stmt |
visit(InvokeInstruction c) |
Stmt |
visit(NewInstruction c) |
Stmt |
visit(PhiInstruction c) |
Stmt |
visit(PutInstruction c) |
Stmt |
visit(ReturnInstruction c) |
Stmt |
visit(SkipStmt a) |
Stmt |
visit(SPFCaseStmt c) |
Stmt |
visit(SwitchInstruction c) |
Stmt |
visit(ThrowInstruction c) |
ExprVisitorAdapter<za.ac.sun.cs.green.expr.Expression> eva
public java.util.List<AssignmentStmt> gammaStmts
public java.util.List<java.lang.Integer> gammaWalaVarDefs
private LocalOutputInvariantVisitor(StaticRegion staticRegion)
public Stmt visit(AssignmentStmt a)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(CompositionStmt a)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(IfThenElseStmt a)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(SkipStmt a)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(SPFCaseStmt c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(ArrayLoadInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(ArrayStoreInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(SwitchInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(ReturnInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(GetInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(PutInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(NewInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(InvokeInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(ArrayLengthInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(ThrowInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(CheckCastInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(InstanceOfInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public Stmt visit(PhiInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public static boolean execute(StaticRegion staticRegion) throws StaticRegionException
StaticRegionException