Class JavaParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.flink.table.codesplit.JavaParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,JavaParserVisitor<T>
- Direct Known Subclasses:
ReturnAndJumpCounter
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:
visitCompilationUnit
in 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:
visitPackageDeclaration
in 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:
visitImportDeclaration
in 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:
visitTypeDeclaration
in 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:
visitModifier
in 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:
visitClassOrInterfaceModifier
in 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:
visitVariableModifier
in 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:
visitClassDeclaration
in 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:
visitTypeParameters
in 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:
visitTypeParameter
in 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:
visitTypeBound
in 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:
visitEnumDeclaration
in 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:
visitEnumConstants
in 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:
visitEnumConstant
in 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:
visitEnumBodyDeclarations
in 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:
visitInterfaceDeclaration
in 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:
visitClassBody
in 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:
visitInterfaceBody
in 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:
visitClassBodyDeclaration
in 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:
visitMemberDeclaration
in 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:
visitMethodDeclaration
in 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:
visitMethodBody
in 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:
visitTypeTypeOrVoid
in 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:
visitGenericMethodDeclaration
in 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:
visitGenericConstructorDeclaration
in 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:
visitConstructorDeclaration
in 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:
visitFieldDeclaration
in 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:
visitInterfaceBodyDeclaration
in 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:
visitInterfaceMemberDeclaration
in 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:
visitConstDeclaration
in 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:
visitConstantDeclarator
in 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:
visitInterfaceMethodDeclaration
in 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:
visitInterfaceMethodModifier
in 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:
visitGenericInterfaceMethodDeclaration
in 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:
visitVariableDeclarators
in 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:
visitVariableDeclarator
in 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:
visitVariableDeclaratorId
in 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:
visitVariableInitializer
in 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:
visitArrayInitializer
in 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:
visitClassOrInterfaceType
in 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:
visitTypeArgument
in 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:
visitQualifiedNameList
in 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:
visitFormalParameters
in 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:
visitFormalParameterList
in 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:
visitFormalParameter
in 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:
visitLastFormalParameter
in 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:
visitQualifiedName
in 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:
visitLiteral
in 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:
visitIntegerLiteral
in 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:
visitFloatLiteral
in 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:
visitAnnotation
in 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:
visitElementValuePairs
in 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:
visitElementValuePair
in 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:
visitElementValue
in 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:
visitElementValueArrayInitializer
in 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:
visitAnnotationTypeDeclaration
in 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:
visitAnnotationTypeBody
in 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:
visitAnnotationTypeElementDeclaration
in 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:
visitAnnotationTypeElementRest
in 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:
visitAnnotationMethodOrConstantRest
in 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:
visitAnnotationMethodRest
in 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:
visitAnnotationConstantRest
in 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:
visitDefaultValue
in 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:
visitBlock
in 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:
visitBlockStatement
in 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:
visitLocalVariableDeclaration
in 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:
visitLocalTypeDeclaration
in 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:
visitStatement
in 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:
visitCatchClause
in 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:
visitCatchType
in 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:
visitFinallyBlock
in 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:
visitResourceSpecification
in 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:
visitResources
in 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:
visitResource
in 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:
visitSwitchBlockStatementGroup
in 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:
visitSwitchLabel
in 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:
visitForControl
in 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:
visitForInit
in 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:
visitEnhancedForControl
in 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:
visitParExpression
in 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:
visitExpressionList
in interfaceJavaParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodCall
public T visitMethodCall(JavaParser.MethodCallContext ctx)
Visit a parse tree produced byJavaParser.methodCall()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodCall
in interfaceJavaParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstructorCall
public T visitConstructorCall(JavaParser.ConstructorCallContext ctx)
Visit a parse tree produced byJavaParser.constructorCall()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConstructorCall
in 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:
visitExpression
in 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:
visitLambdaExpression
in 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:
visitLambdaParameters
in 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:
visitLambdaBody
in 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:
visitPrimary
in 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:
visitClassType
in 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:
visitCreator
in 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:
visitCreatedName
in 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:
visitInnerCreator
in 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:
visitArrayCreatorRest
in 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:
visitClassCreatorRest
in 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:
visitExplicitGenericInvocation
in 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:
visitTypeArgumentsOrDiamond
in 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:
visitNonWildcardTypeArgumentsOrDiamond
in 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:
visitNonWildcardTypeArguments
in 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:
visitTypeList
in 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:
visitTypeType
in 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:
visitPrimitiveType
in 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:
visitTypeArguments
in 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:
visitSuperSuffix
in 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:
visitExplicitGenericInvocationSuffix
in 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:
visitArguments
in interfaceJavaParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-