avrora.core.isdl.ast
Interface ExprVisitor
- All Known Implementing Classes:
- ExprVisitor.DepthFirst
- public interface ExprVisitor
The ExprVisitor interface is part of the visitor pattern
for expressions within the program. It allows clients to visit nodes
of the abstract syntax tree that represent expressions within the
program.
|
Nested Class Summary |
static class |
ExprVisitor.DepthFirst
The DepthFirst class is a base implementation of the
ExprVisitor interface that visits the tree in depth-first
order. |
visit
public void visit(Arith.BinOp e)
visit
public void visit(Arith.UnOp e)
visit
public void visit(BitExpr e)
visit
public void visit(BitRangeExpr e)
visit
public void visit(CallExpr e)
visit
public void visit(Literal e)
visit
public void visit(Logical.BinOp e)
visit
public void visit(Logical.UnOp e)
visit
public void visit(MapExpr e)
visit
public void visit(VarExpr e)