public class FirstITEStmtVisitor extends AstMapVisitor
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<ArrayLoadInstruction> |
arrayLoadInsns |
za.ac.sun.cs.green.expr.Expression |
condition |
java.util.ArrayList<GetInstruction> |
getInsns |
eva, exprVisitor
Constructor and Description |
---|
FirstITEStmtVisitor() |
Modifier and Type | Method and Description |
---|---|
static Triple<za.ac.sun.cs.green.expr.Expression,java.util.ArrayList<GetInstruction>,java.util.ArrayList<ArrayLoadInstruction>> |
execute(Stmt staticStmt) |
Stmt |
visit(ArrayLoadInstruction c) |
Stmt |
visit(GetInstruction c) |
Stmt |
visit(IfThenElseStmt a) |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public za.ac.sun.cs.green.expr.Expression condition
public java.util.ArrayList<GetInstruction> getInsns
public java.util.ArrayList<ArrayLoadInstruction> arrayLoadInsns
public Stmt visit(IfThenElseStmt a)
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(ArrayLoadInstruction c)
visit
in interface AstVisitor<Stmt>
visit
in class AstMapVisitor
public static Triple<za.ac.sun.cs.green.expr.Expression,java.util.ArrayList<GetInstruction>,java.util.ArrayList<ArrayLoadInstruction>> execute(Stmt staticStmt)