public class AstMapVisitor extends ExprMapVisitor implements AstVisitor<Stmt>
Modifier and Type | Field and Description |
---|---|
protected ExprVisitorAdapter<za.ac.sun.cs.green.expr.Expression> |
eva |
protected ExprVisitor<za.ac.sun.cs.green.expr.Expression> |
exprVisitor |
Constructor and Description |
---|
AstMapVisitor(ExprVisitor<za.ac.sun.cs.green.expr.Expression> exprVisitor) |
Modifier and Type | Method and Description |
---|---|
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) |
protected final ExprVisitor<za.ac.sun.cs.green.expr.Expression> exprVisitor
protected final ExprVisitorAdapter<za.ac.sun.cs.green.expr.Expression> eva
public AstMapVisitor(ExprVisitor<za.ac.sun.cs.green.expr.Expression> exprVisitor)
public Stmt visit(AssignmentStmt a)
visit
in interface AstVisitor<Stmt>
public Stmt visit(CompositionStmt a)
visit
in interface AstVisitor<Stmt>
public Stmt visit(IfThenElseStmt a)
visit
in interface AstVisitor<Stmt>
public Stmt visit(SkipStmt a)
visit
in interface AstVisitor<Stmt>
public Stmt visit(SPFCaseStmt c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(ArrayLoadInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(ArrayStoreInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(SwitchInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(ReturnInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(GetInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(PutInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(NewInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(InvokeInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(ArrayLengthInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(ThrowInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(CheckCastInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(InstanceOfInstruction c)
visit
in interface AstVisitor<Stmt>
public Stmt visit(PhiInstruction c)
visit
in interface AstVisitor<Stmt>