com.github.antlrjavaparser.api.visitor.VoidVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antlr-java-parser Show documentation
Show all versions of antlr-java-parser Show documentation
Antlr Java Parser aims to create a Java parser using Antlr 4 grammar rules.
/*
* Copyright (C) 2015 Julio Vilmar Gesser and Mike DeHaan
*
* This file is part of antlr-java-parser.
*
* antlr-java-parser is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* antlr-java-parser is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with antlr-java-parser. If not, see .
*
*/
package com.github.antlrjavaparser.api.visitor;
import com.github.antlrjavaparser.api.BlockComment;
import com.github.antlrjavaparser.api.Comment;
import com.github.antlrjavaparser.api.CompilationUnit;
import com.github.antlrjavaparser.api.ImportDeclaration;
import com.github.antlrjavaparser.api.LineComment;
import com.github.antlrjavaparser.api.PackageDeclaration;
import com.github.antlrjavaparser.api.TypeParameter;
import com.github.antlrjavaparser.api.body.AnnotationDeclaration;
import com.github.antlrjavaparser.api.body.AnnotationMemberDeclaration;
import com.github.antlrjavaparser.api.body.CatchParameter;
import com.github.antlrjavaparser.api.body.ClassOrInterfaceDeclaration;
import com.github.antlrjavaparser.api.body.ConstructorDeclaration;
import com.github.antlrjavaparser.api.body.EmptyMemberDeclaration;
import com.github.antlrjavaparser.api.body.EmptyTypeDeclaration;
import com.github.antlrjavaparser.api.body.EnumConstantDeclaration;
import com.github.antlrjavaparser.api.body.EnumDeclaration;
import com.github.antlrjavaparser.api.body.FieldDeclaration;
import com.github.antlrjavaparser.api.body.InitializerDeclaration;
import com.github.antlrjavaparser.api.body.JavadocComment;
import com.github.antlrjavaparser.api.body.MethodDeclaration;
import com.github.antlrjavaparser.api.body.Parameter;
import com.github.antlrjavaparser.api.body.Resource;
import com.github.antlrjavaparser.api.body.VariableDeclarator;
import com.github.antlrjavaparser.api.body.VariableDeclaratorId;
import com.github.antlrjavaparser.api.expr.ArrayAccessExpr;
import com.github.antlrjavaparser.api.expr.ArrayCreationExpr;
import com.github.antlrjavaparser.api.expr.ArrayInitializerExpr;
import com.github.antlrjavaparser.api.expr.AssignExpr;
import com.github.antlrjavaparser.api.expr.BinaryExpr;
import com.github.antlrjavaparser.api.expr.BooleanLiteralExpr;
import com.github.antlrjavaparser.api.expr.CastExpr;
import com.github.antlrjavaparser.api.expr.CharLiteralExpr;
import com.github.antlrjavaparser.api.expr.ClassExpr;
import com.github.antlrjavaparser.api.expr.ConditionalExpr;
import com.github.antlrjavaparser.api.expr.DoubleLiteralExpr;
import com.github.antlrjavaparser.api.expr.EnclosedExpr;
import com.github.antlrjavaparser.api.expr.FieldAccessExpr;
import com.github.antlrjavaparser.api.expr.InstanceOfExpr;
import com.github.antlrjavaparser.api.expr.IntegerLiteralExpr;
import com.github.antlrjavaparser.api.expr.IntegerLiteralMinValueExpr;
import com.github.antlrjavaparser.api.expr.LambdaExpr;
import com.github.antlrjavaparser.api.expr.LongLiteralExpr;
import com.github.antlrjavaparser.api.expr.LongLiteralMinValueExpr;
import com.github.antlrjavaparser.api.expr.MarkerAnnotationExpr;
import com.github.antlrjavaparser.api.expr.MemberValuePair;
import com.github.antlrjavaparser.api.expr.MethodCallExpr;
import com.github.antlrjavaparser.api.expr.MethodReferenceExpr;
import com.github.antlrjavaparser.api.expr.NameExpr;
import com.github.antlrjavaparser.api.expr.NormalAnnotationExpr;
import com.github.antlrjavaparser.api.expr.NullLiteralExpr;
import com.github.antlrjavaparser.api.expr.ObjectCreationExpr;
import com.github.antlrjavaparser.api.expr.QualifiedNameExpr;
import com.github.antlrjavaparser.api.expr.SingleMemberAnnotationExpr;
import com.github.antlrjavaparser.api.expr.StringLiteralExpr;
import com.github.antlrjavaparser.api.expr.SuperExpr;
import com.github.antlrjavaparser.api.expr.ThisExpr;
import com.github.antlrjavaparser.api.expr.UnaryExpr;
import com.github.antlrjavaparser.api.expr.VariableDeclarationExpr;
import com.github.antlrjavaparser.api.stmt.AssertStmt;
import com.github.antlrjavaparser.api.stmt.BlockStmt;
import com.github.antlrjavaparser.api.stmt.BreakStmt;
import com.github.antlrjavaparser.api.stmt.CatchClause;
import com.github.antlrjavaparser.api.stmt.ContinueStmt;
import com.github.antlrjavaparser.api.stmt.DoStmt;
import com.github.antlrjavaparser.api.stmt.EmptyStmt;
import com.github.antlrjavaparser.api.stmt.ExplicitConstructorInvocationStmt;
import com.github.antlrjavaparser.api.stmt.ExpressionStmt;
import com.github.antlrjavaparser.api.stmt.ForStmt;
import com.github.antlrjavaparser.api.stmt.ForeachStmt;
import com.github.antlrjavaparser.api.stmt.IfStmt;
import com.github.antlrjavaparser.api.stmt.LabeledStmt;
import com.github.antlrjavaparser.api.stmt.ReturnStmt;
import com.github.antlrjavaparser.api.stmt.SwitchEntryStmt;
import com.github.antlrjavaparser.api.stmt.SwitchStmt;
import com.github.antlrjavaparser.api.stmt.SynchronizedStmt;
import com.github.antlrjavaparser.api.stmt.ThrowStmt;
import com.github.antlrjavaparser.api.stmt.TryStmt;
import com.github.antlrjavaparser.api.stmt.TypeDeclarationStmt;
import com.github.antlrjavaparser.api.stmt.WhileStmt;
import com.github.antlrjavaparser.api.type.ClassOrInterfaceType;
import com.github.antlrjavaparser.api.type.PrimitiveType;
import com.github.antlrjavaparser.api.type.ReferenceType;
import com.github.antlrjavaparser.api.type.VoidType;
import com.github.antlrjavaparser.api.type.WildcardType;
/**
* @author Julio Vilmar Gesser
*/
public interface VoidVisitor {
//- Compilation Unit ----------------------------------
public void visit(CompilationUnit n, A arg);
public void visit(PackageDeclaration n, A arg);
public void visit(ImportDeclaration n, A arg);
public void visit(TypeParameter n, A arg);
public void visit(LineComment n, A arg);
public void visit(BlockComment n, A arg);
//- Body ----------------------------------------------
public void visit(ClassOrInterfaceDeclaration n, A arg);
public void visit(Comment n, A arg);
public void visit(EnumDeclaration n, A arg);
public void visit(EmptyTypeDeclaration n, A arg);
public void visit(EnumConstantDeclaration n, A arg);
public void visit(AnnotationDeclaration n, A arg);
public void visit(AnnotationMemberDeclaration n, A arg);
public void visit(FieldDeclaration n, A arg);
public void visit(VariableDeclarator n, A arg);
public void visit(VariableDeclaratorId n, A arg);
public void visit(ConstructorDeclaration n, A arg);
public void visit(MethodDeclaration n, A arg);
public void visit(Parameter n, A arg);
public void visit(CatchParameter n, A arg);
public void visit(Resource n, A arg);
public void visit(EmptyMemberDeclaration n, A arg);
public void visit(InitializerDeclaration n, A arg);
public void visit(JavadocComment n, A arg);
//- Type ----------------------------------------------
public void visit(ClassOrInterfaceType n, A arg);
public void visit(PrimitiveType n, A arg);
public void visit(ReferenceType n, A arg);
public void visit(VoidType n, A arg);
public void visit(WildcardType n, A arg);
//- Expression ----------------------------------------
public void visit(ArrayAccessExpr n, A arg);
public void visit(ArrayCreationExpr n, A arg);
public void visit(ArrayInitializerExpr n, A arg);
public void visit(AssignExpr n, A arg);
public void visit(BinaryExpr n, A arg);
public void visit(CastExpr n, A arg);
public void visit(ClassExpr n, A arg);
public void visit(ConditionalExpr n, A arg);
public void visit(EnclosedExpr n, A arg);
public void visit(FieldAccessExpr n, A arg);
public void visit(InstanceOfExpr n, A arg);
public void visit(StringLiteralExpr n, A arg);
public void visit(IntegerLiteralExpr n, A arg);
public void visit(LongLiteralExpr n, A arg);
public void visit(IntegerLiteralMinValueExpr n, A arg);
public void visit(LongLiteralMinValueExpr n, A arg);
public void visit(CharLiteralExpr n, A arg);
public void visit(DoubleLiteralExpr n, A arg);
public void visit(BooleanLiteralExpr n, A arg);
public void visit(NullLiteralExpr n, A arg);
public void visit(LambdaExpr n, A arg);
public void visit(MethodCallExpr n, A arg);
public void visit(NameExpr n, A arg);
public void visit(ObjectCreationExpr n, A arg);
public void visit(QualifiedNameExpr n, A arg);
public void visit(ThisExpr n, A arg);
public void visit(SuperExpr n, A arg);
public void visit(UnaryExpr n, A arg);
public void visit(VariableDeclarationExpr n, A arg);
public void visit(MarkerAnnotationExpr n, A arg);
public void visit(SingleMemberAnnotationExpr n, A arg);
public void visit(NormalAnnotationExpr n, A arg);
public void visit(MemberValuePair n, A arg);
public void visit(MethodReferenceExpr n, A arg);
//- Statements ----------------------------------------
public void visit(ExplicitConstructorInvocationStmt n, A arg);
public void visit(TypeDeclarationStmt n, A arg);
public void visit(AssertStmt n, A arg);
public void visit(BlockStmt n, A arg);
public void visit(LabeledStmt n, A arg);
public void visit(EmptyStmt n, A arg);
public void visit(ExpressionStmt n, A arg);
public void visit(SwitchStmt n, A arg);
public void visit(SwitchEntryStmt n, A arg);
public void visit(BreakStmt n, A arg);
public void visit(ReturnStmt n, A arg);
public void visit(IfStmt n, A arg);
public void visit(WhileStmt n, A arg);
public void visit(ContinueStmt n, A arg);
public void visit(DoStmt n, A arg);
public void visit(ForeachStmt n, A arg);
public void visit(ForStmt n, A arg);
public void visit(ThrowStmt n, A arg);
public void visit(SynchronizedStmt n, A arg);
public void visit(TryStmt n, A arg);
public void visit(CatchClause n, A arg);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy