Class JavaParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.reploop.parser.java.base.JavaParserBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,JavaParserVisitor<T>
- Direct Known Subclasses:
JavaAstBuilder
public class JavaParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements JavaParserVisitor<T>
This class provides an empty implementation ofJavaParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JavaParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitCompilationUnit
public T visitCompilationUnit(JavaParser.CompilationUnitContext ctx)
Visit a parse tree produced byJavaParser.compilationUnit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompilationUnitin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
public T visitPackageDeclaration(JavaParser.PackageDeclarationContext ctx)
Visit a parse tree produced byJavaParser.packageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPackageDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
public T visitImportDeclaration(JavaParser.ImportDeclarationContext ctx)
Visit a parse tree produced byJavaParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
public T visitTypeDeclaration(JavaParser.TypeDeclarationContext ctx)
Visit a parse tree produced byJavaParser.typeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
public T visitModifier(JavaParser.ModifierContext ctx)
Visit a parse tree produced byJavaParser.modifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModifierin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
public T visitClassOrInterfaceModifier(JavaParser.ClassOrInterfaceModifierContext ctx)
Visit a parse tree produced byJavaParser.classOrInterfaceModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceModifierin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
public T visitVariableModifier(JavaParser.VariableModifierContext ctx)
Visit a parse tree produced byJavaParser.variableModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableModifierin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
public T visitClassDeclaration(JavaParser.ClassDeclarationContext ctx)
Visit a parse tree produced byJavaParser.classDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
public T visitTypeParameters(JavaParser.TypeParametersContext ctx)
Visit a parse tree produced byJavaParser.typeParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParametersin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
public T visitTypeParameter(JavaParser.TypeParameterContext ctx)
Visit a parse tree produced byJavaParser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
public T visitTypeBound(JavaParser.TypeBoundContext ctx)
Visit a parse tree produced byJavaParser.typeBound().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBoundin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
public T visitEnumDeclaration(JavaParser.EnumDeclarationContext ctx)
Visit a parse tree produced byJavaParser.enumDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
public T visitEnumConstants(JavaParser.EnumConstantsContext ctx)
Visit a parse tree produced byJavaParser.enumConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
public T visitEnumConstant(JavaParser.EnumConstantContext ctx)
Visit a parse tree produced byJavaParser.enumConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
public T visitEnumBodyDeclarations(JavaParser.EnumBodyDeclarationsContext ctx)
Visit a parse tree produced byJavaParser.enumBodyDeclarations().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyDeclarationsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
public T visitInterfaceDeclaration(JavaParser.InterfaceDeclarationContext ctx)
Visit a parse tree produced byJavaParser.interfaceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
public T visitClassBody(JavaParser.ClassBodyContext ctx)
Visit a parse tree produced byJavaParser.classBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBodyin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
public T visitInterfaceBody(JavaParser.InterfaceBodyContext ctx)
Visit a parse tree produced byJavaParser.interfaceBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
public T visitClassBodyDeclaration(JavaParser.ClassBodyDeclarationContext ctx)
Visit a parse tree produced byJavaParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBodyDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
public T visitMemberDeclaration(JavaParser.MemberDeclarationContext ctx)
Visit a parse tree produced byJavaParser.memberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
public T visitMethodDeclaration(JavaParser.MethodDeclarationContext ctx)
Visit a parse tree produced byJavaParser.methodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
public T visitMethodBody(JavaParser.MethodBodyContext ctx)
Visit a parse tree produced byJavaParser.methodBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodBodyin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeTypeOrVoid
public T visitTypeTypeOrVoid(JavaParser.TypeTypeOrVoidContext ctx)
Visit a parse tree produced byJavaParser.typeTypeOrVoid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeTypeOrVoidin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericMethodDeclaration
public T visitGenericMethodDeclaration(JavaParser.GenericMethodDeclarationContext ctx)
Visit a parse tree produced byJavaParser.genericMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGenericMethodDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericConstructorDeclaration
public T visitGenericConstructorDeclaration(JavaParser.GenericConstructorDeclarationContext ctx)
Visit a parse tree produced byJavaParser.genericConstructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGenericConstructorDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
public T visitConstructorDeclaration(JavaParser.ConstructorDeclarationContext ctx)
Visit a parse tree produced byJavaParser.constructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
public T visitFieldDeclaration(JavaParser.FieldDeclarationContext ctx)
Visit a parse tree produced byJavaParser.fieldDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
public T visitInterfaceBodyDeclaration(JavaParser.InterfaceBodyDeclarationContext ctx)
Visit a parse tree produced byJavaParser.interfaceBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
public T visitInterfaceMemberDeclaration(JavaParser.InterfaceMemberDeclarationContext ctx)
Visit a parse tree produced byJavaParser.interfaceMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMemberDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstDeclaration
public T visitConstDeclaration(JavaParser.ConstDeclarationContext ctx)
Visit a parse tree produced byJavaParser.constDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantDeclarator
public T visitConstantDeclarator(JavaParser.ConstantDeclaratorContext ctx)
Visit a parse tree produced byJavaParser.constantDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstantDeclaratorin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
public T visitInterfaceMethodDeclaration(JavaParser.InterfaceMethodDeclarationContext ctx)
Visit a parse tree produced byJavaParser.interfaceMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMethodDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodModifier
public T visitInterfaceMethodModifier(JavaParser.InterfaceMethodModifierContext ctx)
Visit a parse tree produced byJavaParser.interfaceMethodModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMethodModifierin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericInterfaceMethodDeclaration
public T visitGenericInterfaceMethodDeclaration(JavaParser.GenericInterfaceMethodDeclarationContext ctx)
Visit a parse tree produced byJavaParser.genericInterfaceMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGenericInterfaceMethodDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
public T visitVariableDeclarators(JavaParser.VariableDeclaratorsContext ctx)
Visit a parse tree produced byJavaParser.variableDeclarators().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
public T visitVariableDeclarator(JavaParser.VariableDeclaratorContext ctx)
Visit a parse tree produced byJavaParser.variableDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
public T visitVariableDeclaratorId(JavaParser.VariableDeclaratorIdContext ctx)
Visit a parse tree produced byJavaParser.variableDeclaratorId().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorIdin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
public T visitVariableInitializer(JavaParser.VariableInitializerContext ctx)
Visit a parse tree produced byJavaParser.variableInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableInitializerin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
public T visitArrayInitializer(JavaParser.ArrayInitializerContext ctx)
Visit a parse tree produced byJavaParser.arrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayInitializerin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
public T visitClassOrInterfaceType(JavaParser.ClassOrInterfaceTypeContext ctx)
Visit a parse tree produced byJavaParser.classOrInterfaceType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
public T visitTypeArgument(JavaParser.TypeArgumentContext ctx)
Visit a parse tree produced byJavaParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
public T visitQualifiedNameList(JavaParser.QualifiedNameListContext ctx)
Visit a parse tree produced byJavaParser.qualifiedNameList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameListin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
public T visitFormalParameters(JavaParser.FormalParametersContext ctx)
Visit a parse tree produced byJavaParser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
public T visitFormalParameterList(JavaParser.FormalParameterListContext ctx)
Visit a parse tree produced byJavaParser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
public T visitFormalParameter(JavaParser.FormalParameterContext ctx)
Visit a parse tree produced byJavaParser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
public T visitLastFormalParameter(JavaParser.LastFormalParameterContext ctx)
Visit a parse tree produced byJavaParser.lastFormalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastFormalParameterin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
public T visitQualifiedName(JavaParser.QualifiedNameContext ctx)
Visit a parse tree produced byJavaParser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
public T visitLiteral(JavaParser.LiteralContext ctx)
Visit a parse tree produced byJavaParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
public T visitIntegerLiteral(JavaParser.IntegerLiteralContext ctx)
Visit a parse tree produced byJavaParser.integerLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerLiteralin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
public T visitFloatLiteral(JavaParser.FloatLiteralContext ctx)
Visit a parse tree produced byJavaParser.floatLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloatLiteralin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
public T visitAnnotation(JavaParser.AnnotationContext ctx)
Visit a parse tree produced byJavaParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
public T visitElementValuePairs(JavaParser.ElementValuePairsContext ctx)
Visit a parse tree produced byJavaParser.elementValuePairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
public T visitElementValuePair(JavaParser.ElementValuePairContext ctx)
Visit a parse tree produced byJavaParser.elementValuePair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
public T visitElementValue(JavaParser.ElementValueContext ctx)
Visit a parse tree produced byJavaParser.elementValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
public T visitElementValueArrayInitializer(JavaParser.ElementValueArrayInitializerContext ctx)
Visit a parse tree produced byJavaParser.elementValueArrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValueArrayInitializerin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
public T visitAnnotationTypeDeclaration(JavaParser.AnnotationTypeDeclarationContext ctx)
Visit a parse tree produced byJavaParser.annotationTypeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
public T visitAnnotationTypeBody(JavaParser.AnnotationTypeBodyContext ctx)
Visit a parse tree produced byJavaParser.annotationTypeBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeBodyin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
public T visitAnnotationTypeElementDeclaration(JavaParser.AnnotationTypeElementDeclarationContext ctx)
Visit a parse tree produced byJavaParser.annotationTypeElementDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeElementDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementRest
public T visitAnnotationTypeElementRest(JavaParser.AnnotationTypeElementRestContext ctx)
Visit a parse tree produced byJavaParser.annotationTypeElementRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeElementRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodOrConstantRest
public T visitAnnotationMethodOrConstantRest(JavaParser.AnnotationMethodOrConstantRestContext ctx)
Visit a parse tree produced byJavaParser.annotationMethodOrConstantRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationMethodOrConstantRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
public T visitAnnotationMethodRest(JavaParser.AnnotationMethodRestContext ctx)
Visit a parse tree produced byJavaParser.annotationMethodRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationMethodRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
public T visitAnnotationConstantRest(JavaParser.AnnotationConstantRestContext ctx)
Visit a parse tree produced byJavaParser.annotationConstantRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationConstantRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
public T visitDefaultValue(JavaParser.DefaultValueContext ctx)
Visit a parse tree produced byJavaParser.defaultValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultValuein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
public T visitBlock(JavaParser.BlockContext ctx)
Visit a parse tree produced byJavaParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
public T visitBlockStatement(JavaParser.BlockStatementContext ctx)
Visit a parse tree produced byJavaParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockStatementin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
public T visitLocalVariableDeclaration(JavaParser.LocalVariableDeclarationContext ctx)
Visit a parse tree produced byJavaParser.localVariableDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalVariableDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
public T visitLocalTypeDeclaration(JavaParser.LocalTypeDeclarationContext ctx)
Visit a parse tree produced byJavaParser.localTypeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalTypeDeclarationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
public T visitStatement(JavaParser.StatementContext ctx)
Visit a parse tree produced byJavaParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
public T visitCatchClause(JavaParser.CatchClauseContext ctx)
Visit a parse tree produced byJavaParser.catchClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchClausein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
public T visitCatchType(JavaParser.CatchTypeContext ctx)
Visit a parse tree produced byJavaParser.catchType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchTypein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
public T visitFinallyBlock(JavaParser.FinallyBlockContext ctx)
Visit a parse tree produced byJavaParser.finallyBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinallyBlockin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
public T visitResourceSpecification(JavaParser.ResourceSpecificationContext ctx)
Visit a parse tree produced byJavaParser.resourceSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceSpecificationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
public T visitResources(JavaParser.ResourcesContext ctx)
Visit a parse tree produced byJavaParser.resources().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcesin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
public T visitResource(JavaParser.ResourceContext ctx)
Visit a parse tree produced byJavaParser.resource().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
public T visitSwitchBlockStatementGroup(JavaParser.SwitchBlockStatementGroupContext ctx)
Visit a parse tree produced byJavaParser.switchBlockStatementGroup().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchBlockStatementGroupin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
public T visitSwitchLabel(JavaParser.SwitchLabelContext ctx)
Visit a parse tree produced byJavaParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabelin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForControl
public T visitForControl(JavaParser.ForControlContext ctx)
Visit a parse tree produced byJavaParser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForControlin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
public T visitForInit(JavaParser.ForInitContext ctx)
Visit a parse tree produced byJavaParser.forInit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForInitin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
public T visitEnhancedForControl(JavaParser.EnhancedForControlContext ctx)
Visit a parse tree produced byJavaParser.enhancedForControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnhancedForControlin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
public T visitParExpression(JavaParser.ParExpressionContext ctx)
Visit a parse tree produced byJavaParser.parExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParExpressionin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
public T visitExpressionList(JavaParser.ExpressionListContext ctx)
Visit a parse tree produced byJavaParser.expressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionListin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(JavaParser.ExpressionContext ctx)
Visit a parse tree produced byJavaParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
public T visitLambdaExpression(JavaParser.LambdaExpressionContext ctx)
Visit a parse tree produced byJavaParser.lambdaExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaExpressionin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaParameters
public T visitLambdaParameters(JavaParser.LambdaParametersContext ctx)
Visit a parse tree produced byJavaParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaParametersin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
public T visitLambdaBody(JavaParser.LambdaBodyContext ctx)
Visit a parse tree produced byJavaParser.lambdaBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaBodyin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
public T visitPrimary(JavaParser.PrimaryContext ctx)
Visit a parse tree produced byJavaParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassType
public T visitClassType(JavaParser.ClassTypeContext ctx)
Visit a parse tree produced byJavaParser.classType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassTypein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
public T visitCreator(JavaParser.CreatorContext ctx)
Visit a parse tree produced byJavaParser.creator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatorin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedName
public T visitCreatedName(JavaParser.CreatedNameContext ctx)
Visit a parse tree produced byJavaParser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNamein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
public T visitInnerCreator(JavaParser.InnerCreatorContext ctx)
Visit a parse tree produced byJavaParser.innerCreator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInnerCreatorin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
public T visitArrayCreatorRest(JavaParser.ArrayCreatorRestContext ctx)
Visit a parse tree produced byJavaParser.arrayCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayCreatorRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
public T visitClassCreatorRest(JavaParser.ClassCreatorRestContext ctx)
Visit a parse tree produced byJavaParser.classCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassCreatorRestin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocation
public T visitExplicitGenericInvocation(JavaParser.ExplicitGenericInvocationContext ctx)
Visit a parse tree produced byJavaParser.explicitGenericInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExplicitGenericInvocationin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
public T visitTypeArgumentsOrDiamond(JavaParser.TypeArgumentsOrDiamondContext ctx)
Visit a parse tree produced byJavaParser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsOrDiamondin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgumentsOrDiamond
public T visitNonWildcardTypeArgumentsOrDiamond(JavaParser.NonWildcardTypeArgumentsOrDiamondContext ctx)
Visit a parse tree produced byJavaParser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsOrDiamondin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
public T visitNonWildcardTypeArguments(JavaParser.NonWildcardTypeArgumentsContext ctx)
Visit a parse tree produced byJavaParser.nonWildcardTypeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
public T visitTypeList(JavaParser.TypeListContext ctx)
Visit a parse tree produced byJavaParser.typeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeListin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeType
public T visitTypeType(JavaParser.TypeTypeContext ctx)
Visit a parse tree produced byJavaParser.typeType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeTypein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
public T visitPrimitiveType(JavaParser.PrimitiveTypeContext ctx)
Visit a parse tree produced byJavaParser.primitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimitiveTypein interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
public T visitTypeArguments(JavaParser.TypeArgumentsContext ctx)
Visit a parse tree produced byJavaParser.typeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffix
public T visitSuperSuffix(JavaParser.SuperSuffixContext ctx)
Visit a parse tree produced byJavaParser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSuffixin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocationSuffix
public T visitExplicitGenericInvocationSuffix(JavaParser.ExplicitGenericInvocationSuffixContext ctx)
Visit a parse tree produced byJavaParser.explicitGenericInvocationSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExplicitGenericInvocationSuffixin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
public T visitArguments(JavaParser.ArgumentsContext ctx)
Visit a parse tree produced byJavaParser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsin interfaceJavaParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-