avrora.core.isdl.ast
Class CodeVisitor.DepthFirst
java.lang.Object
avrora.core.isdl.ast.CodeVisitor.DepthFirst
- All Implemented Interfaces:
- CodeVisitor
- Enclosing class:
- CodeVisitor
- public static class CodeVisitor.DepthFirst
- extends java.lang.Object
- implements CodeVisitor
The DepthFirst
class is a base implementation of the CodeVisitor
interface
that visits the tree in depth-first order.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeVisitor.DepthFirst
public CodeVisitor.DepthFirst()
visit
public void visit(Arith.AddExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.AndExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.CompExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.DivExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.MulExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.NegExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.OrExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.ShiftLeftExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.ShiftRightExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.SubExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Arith.XorExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(BitExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(BitRangeExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(CallExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(ConversionExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Literal.BoolExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Literal.IntExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.AndExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.EquExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.GreaterEquExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.GreaterExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.LessEquExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.LessExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.NequExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.NotExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.OrExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(Logical.XorExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(MapExpr e)
- Specified by:
visit
in interface CodeVisitor
visit
public void visit(VarExpr e)
- Specified by:
visit
in interface CodeVisitor