169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal/*
269e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * Javassist, a Java-bytecode translator toolkit.
369e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * Copyright (C) 1999-2007 Shigeru Chiba. All Rights Reserved.
469e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal *
569e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * The contents of this file are subject to the Mozilla Public License Version
669e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * 1.1 (the "License"); you may not use this file except in compliance with
769e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * the License.  Alternatively, the contents of this file may be used under
869e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * the terms of the GNU Lesser General Public License Version 2.1 or later.
969e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal *
1069e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * Software distributed under the License is distributed on an "AS IS" basis,
1169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1269e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * for the specific language governing rights and limitations under the
1369e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * License.
1469e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal */
1569e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
1669e17611504376e4d4603925f8528dfc890fd2c6Luis Sigalpackage javassist.compiler.ast;
1769e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
1869e17611504376e4d4603925f8528dfc890fd2c6Luis Sigalimport javassist.compiler.CompileError;
1969e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
2069e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal/**
2169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * The visitor pattern.
2269e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal *
2369e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal * @see ast.ASTree#accept(Visitor)
2469e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal */
2569e17611504376e4d4603925f8528dfc890fd2c6Luis Sigalpublic class Visitor {
2669e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atASTList(ASTList n) throws CompileError {}
2769e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atPair(Pair n) throws CompileError {}
2869e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
2969e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atFieldDecl(FieldDecl n) throws CompileError {}
3069e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atMethodDecl(MethodDecl n) throws CompileError {}
3169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atStmnt(Stmnt n) throws CompileError {}
3269e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atDeclarator(Declarator n) throws CompileError {}
3369e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
3469e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atAssignExpr(AssignExpr n) throws CompileError {}
3569e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atCondExpr(CondExpr n) throws CompileError {}
3669e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atBinExpr(BinExpr n) throws CompileError {}
3769e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atExpr(Expr n) throws CompileError {}
3869e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atCallExpr(CallExpr n) throws CompileError {}
3969e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atCastExpr(CastExpr n) throws CompileError {}
4069e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atInstanceOfExpr(InstanceOfExpr n) throws CompileError {}
4169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atNewExpr(NewExpr n) throws CompileError {}
4269e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal
4369e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atSymbol(Symbol n) throws CompileError {}
4469e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atMember(Member n) throws CompileError {}
4569e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atVariable(Variable n) throws CompileError {}
4669e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atKeyword(Keyword n) throws CompileError {}
4769e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atStringL(StringL n) throws CompileError {}
4869e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atIntConst(IntConst n) throws CompileError {}
4969e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atDoubleConst(DoubleConst n) throws CompileError {}
5069e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal    public void atArrayInit(ArrayInit n) throws CompileError {}
5169e17611504376e4d4603925f8528dfc890fd2c6Luis Sigal}
52