avrora.core.isdl.ast
Interface StmtRebuilder

All Superinterfaces:
CodeRebuilder
All Known Implementing Classes:
StmtRebuilder.DepthFirst

public interface StmtRebuilder
extends CodeRebuilder

The StmtVisitor interface implements the visitor pattern so that clients can visit the abstract syntax tree nodes representing statements in the program.


Nested Class Summary
static class StmtRebuilder.DepthFirst
          The DepthFirst class is a base implementation of the StmtVisitor interface that visits the tree in depth-first order.
 
Method Summary
 Stmt visit(CallStmt s, java.lang.Object env)
           
 Stmt visit(CommentStmt s, java.lang.Object env)
           
 Stmt visit(DeclStmt s, java.lang.Object env)
           
 Stmt visit(IfStmt s, java.lang.Object env)
           
 Stmt visit(MapAssignStmt s, java.lang.Object env)
           
 Stmt visit(MapBitAssignStmt s, java.lang.Object env)
           
 Stmt visit(MapBitRangeAssignStmt s, java.lang.Object env)
           
 Stmt visit(ReturnStmt s, java.lang.Object env)
           
 Stmt visit(VarAssignStmt s, java.lang.Object env)
           
 Stmt visit(VarBitAssignStmt s, java.lang.Object env)
           
 Stmt visit(VarBitRangeAssignStmt s, java.lang.Object env)
           
 
Methods inherited from interface avrora.core.isdl.ast.CodeRebuilder
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 

Method Detail

visit

public Stmt visit(CallStmt s,
                  java.lang.Object env)

visit

public Stmt visit(CommentStmt s,
                  java.lang.Object env)

visit

public Stmt visit(DeclStmt s,
                  java.lang.Object env)

visit

public Stmt visit(IfStmt s,
                  java.lang.Object env)

visit

public Stmt visit(MapAssignStmt s,
                  java.lang.Object env)

visit

public Stmt visit(MapBitAssignStmt s,
                  java.lang.Object env)

visit

public Stmt visit(MapBitRangeAssignStmt s,
                  java.lang.Object env)

visit

public Stmt visit(ReturnStmt s,
                  java.lang.Object env)

visit

public Stmt visit(VarAssignStmt s,
                  java.lang.Object env)

visit

public Stmt visit(VarBitAssignStmt s,
                  java.lang.Object env)

visit

public Stmt visit(VarBitRangeAssignStmt s,
                  java.lang.Object env)