avrora.core.isdl.ast
Class StmtVisitor.DepthFirst

java.lang.Object
  extended byavrora.core.isdl.ast.StmtVisitor.DepthFirst
All Implemented Interfaces:
StmtVisitor
Direct Known Subclasses:
Architecture.PrettyPrinter
Enclosing class:
StmtVisitor

public static class StmtVisitor.DepthFirst
extends java.lang.Object
implements StmtVisitor

The DepthFirst class is a base implementation of the StmtVisitor interface that visits the tree in depth-first order.


Nested Class Summary
 
Nested classes inherited from class avrora.core.isdl.ast.StmtVisitor
StmtVisitor.DepthFirst
 
Constructor Summary
StmtVisitor.DepthFirst()
           
 
Method Summary
 void visit(CallStmt s)
           
 void visit(CommentStmt s)
           
 void visit(DeclStmt s)
           
 void visit(IfStmt s)
           
 void visit(MapAssignStmt s)
           
 void visit(MapBitAssignStmt s)
           
 void visit(MapBitRangeAssignStmt s)
           
 void visit(ReturnStmt s)
           
 void visit(VarAssignStmt s)
           
 void visit(VarBitAssignStmt s)
           
 void visit(VarBitRangeAssignStmt s)
           
protected  void visitStmtList(java.util.List l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StmtVisitor.DepthFirst

public StmtVisitor.DepthFirst()
Method Detail

visit

public void visit(CallStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(CommentStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(DeclStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(IfStmt s)
Specified by:
visit in interface StmtVisitor

visitStmtList

protected void visitStmtList(java.util.List l)

visit

public void visit(MapAssignStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(MapBitAssignStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(MapBitRangeAssignStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(ReturnStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(VarAssignStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(VarBitAssignStmt s)
Specified by:
visit in interface StmtVisitor

visit

public void visit(VarBitRangeAssignStmt s)
Specified by:
visit in interface StmtVisitor