Package javassist.compiler.ast
Class Visitor
- java.lang.Object
-
- javassist.compiler.ast.Visitor
-
- Direct Known Subclasses:
CodeGen
,TypeChecker
public class Visitor extends Object
The visitor pattern.- See Also:
ASTree.accept(Visitor)
-
-
Constructor Summary
Constructors Constructor Description Visitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
atArrayInit(ArrayInit n)
void
atAssignExpr(AssignExpr n)
void
atASTList(ASTList n)
void
atBinExpr(BinExpr n)
void
atCallExpr(CallExpr 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)
-
-
-
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
-
atCallExpr
public void atCallExpr(CallExpr 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
-
atArrayInit
public void atArrayInit(ArrayInit n) throws CompileError
- Throws:
CompileError
-
-