classUtils.javassist.compiler.ast
Class Visitor

java.lang.Object
  extended by classUtils.javassist.compiler.ast.Visitor
Direct Known Subclasses:
CodeGen

public class Visitor
extends java.lang.Object

The visitor pattern.

See Also:
ast.ASTree#accept(Visitor)

Constructor Summary
Visitor()
           
 
Method Summary
 void atAssignExpr(AssignExpr n)
           
 void atASTList(ASTList n)
           
 void atBinExpr(BinExpr n)
           
 void atCastExpr(CastExpr n)
           
 void atCondExpr(CondExpr n)
           
 void atDeclarator(Declarator n)
           
 void atDoubleConst(DoubleConst n)
           
 void atExpr(Expr n)
           
 void atFieldDecl(FieldDecl n)
           
 void atInstanceOfExpr(InstanceOfExpr n)
           
 void atIntConst(IntConst n)
           
 void atKeyword(Keyword n)
           
 void atMember(Member n)
           
 void atMethodDecl(MethodDecl n)
           
 void atNewExpr(NewExpr n)
           
 void atPair(Pair n)
           
 void atStmnt(Stmnt n)
           
 void atStringL(StringL n)
           
 void atSymbol(Symbol n)
           
 void atVariable(Variable n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visitor

public Visitor()
Method Detail

atASTList

public void atASTList(ASTList n)
               throws CompileError
Throws:
CompileError

atPair

public void atPair(Pair n)
            throws CompileError
Throws:
CompileError

atFieldDecl

public void atFieldDecl(FieldDecl n)
                 throws CompileError
Throws:
CompileError

atMethodDecl

public void atMethodDecl(MethodDecl n)
                  throws CompileError
Throws:
CompileError

atStmnt

public void atStmnt(Stmnt n)
             throws CompileError
Throws:
CompileError

atDeclarator

public void atDeclarator(Declarator n)
                  throws CompileError
Throws:
CompileError

atAssignExpr

public void atAssignExpr(AssignExpr n)
                  throws CompileError
Throws:
CompileError

atCondExpr

public void atCondExpr(CondExpr n)
                throws CompileError
Throws:
CompileError

atBinExpr

public void atBinExpr(BinExpr n)
               throws CompileError
Throws:
CompileError

atExpr

public void atExpr(Expr n)
            throws CompileError
Throws:
CompileError

atCastExpr

public void atCastExpr(CastExpr n)
                throws CompileError
Throws:
CompileError

atInstanceOfExpr

public void atInstanceOfExpr(InstanceOfExpr n)
                      throws CompileError
Throws:
CompileError

atNewExpr

public void atNewExpr(NewExpr n)
               throws CompileError
Throws:
CompileError

atSymbol

public void atSymbol(Symbol n)
              throws CompileError
Throws:
CompileError

atMember

public void atMember(Member n)
              throws CompileError
Throws:
CompileError

atVariable

public void atVariable(Variable n)
                throws CompileError
Throws:
CompileError

atKeyword

public void atKeyword(Keyword n)
               throws CompileError
Throws:
CompileError

atStringL

public void atStringL(StringL n)
               throws CompileError
Throws:
CompileError

atIntConst

public void atIntConst(IntConst n)
                throws CompileError
Throws:
CompileError

atDoubleConst

public void atDoubleConst(DoubleConst n)
                   throws CompileError
Throws:
CompileError