classUtils.javassist.compiler.ast
Class Visitor
java.lang.Object
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)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Visitor
public Visitor()
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