Package org.apache.flink.table.codesplit
Interface JavaParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JavaParserBaseVisitor,ReturnAndJumpCounter
public interface JavaParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
JavaParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byJavaParser.annotation().Visit a parse tree produced byJavaParser.annotationConstantRest().Visit a parse tree produced byJavaParser.annotationMethodOrConstantRest().Visit a parse tree produced byJavaParser.annotationMethodRest().Visit a parse tree produced byJavaParser.annotationTypeBody().Visit a parse tree produced byJavaParser.annotationTypeDeclaration().Visit a parse tree produced byJavaParser.annotationTypeElementDeclaration().Visit a parse tree produced byJavaParser.annotationTypeElementRest().Visit a parse tree produced byJavaParser.arguments().Visit a parse tree produced byJavaParser.arrayCreatorRest().Visit a parse tree produced byJavaParser.arrayInitializer().Visit a parse tree produced byJavaParser.block().Visit a parse tree produced byJavaParser.blockStatement().Visit a parse tree produced byJavaParser.catchClause().Visit a parse tree produced byJavaParser.catchType().Visit a parse tree produced byJavaParser.classBody().Visit a parse tree produced byJavaParser.classBodyDeclaration().Visit a parse tree produced byJavaParser.classCreatorRest().Visit a parse tree produced byJavaParser.classDeclaration().Visit a parse tree produced byJavaParser.classOrInterfaceModifier().Visit a parse tree produced byJavaParser.classOrInterfaceType().Visit a parse tree produced byJavaParser.classType().Visit a parse tree produced byJavaParser.compilationUnit().Visit a parse tree produced byJavaParser.constantDeclarator().Visit a parse tree produced byJavaParser.constDeclaration().Visit a parse tree produced byJavaParser.constructorCall().Visit a parse tree produced byJavaParser.constructorDeclaration().Visit a parse tree produced byJavaParser.createdName().Visit a parse tree produced byJavaParser.creator().Visit a parse tree produced byJavaParser.defaultValue().Visit a parse tree produced byJavaParser.elementValue().Visit a parse tree produced byJavaParser.elementValueArrayInitializer().Visit a parse tree produced byJavaParser.elementValuePair().Visit a parse tree produced byJavaParser.elementValuePairs().Visit a parse tree produced byJavaParser.enhancedForControl().Visit a parse tree produced byJavaParser.enumBodyDeclarations().Visit a parse tree produced byJavaParser.enumConstant().Visit a parse tree produced byJavaParser.enumConstants().Visit a parse tree produced byJavaParser.enumDeclaration().Visit a parse tree produced byJavaParser.explicitGenericInvocation().Visit a parse tree produced byJavaParser.explicitGenericInvocationSuffix().Visit a parse tree produced byJavaParser.expression().Visit a parse tree produced byJavaParser.expressionList().Visit a parse tree produced byJavaParser.fieldDeclaration().Visit a parse tree produced byJavaParser.finallyBlock().Visit a parse tree produced byJavaParser.floatLiteral().Visit a parse tree produced byJavaParser.forControl().Visit a parse tree produced byJavaParser.forInit().Visit a parse tree produced byJavaParser.formalParameter().Visit a parse tree produced byJavaParser.formalParameterList().Visit a parse tree produced byJavaParser.formalParameters().Visit a parse tree produced byJavaParser.genericConstructorDeclaration().Visit a parse tree produced byJavaParser.genericInterfaceMethodDeclaration().Visit a parse tree produced byJavaParser.genericMethodDeclaration().Visit a parse tree produced byJavaParser.importDeclaration().Visit a parse tree produced byJavaParser.innerCreator().Visit a parse tree produced byJavaParser.integerLiteral().Visit a parse tree produced byJavaParser.interfaceBody().Visit a parse tree produced byJavaParser.interfaceBodyDeclaration().Visit a parse tree produced byJavaParser.interfaceDeclaration().Visit a parse tree produced byJavaParser.interfaceMemberDeclaration().Visit a parse tree produced byJavaParser.interfaceMethodDeclaration().Visit a parse tree produced byJavaParser.interfaceMethodModifier().Visit a parse tree produced byJavaParser.lambdaBody().Visit a parse tree produced byJavaParser.lambdaExpression().Visit a parse tree produced byJavaParser.lambdaParameters().Visit a parse tree produced byJavaParser.lastFormalParameter().Visit a parse tree produced byJavaParser.literal().Visit a parse tree produced byJavaParser.localTypeDeclaration().Visit a parse tree produced byJavaParser.localVariableDeclaration().Visit a parse tree produced byJavaParser.memberDeclaration().Visit a parse tree produced byJavaParser.methodBody().Visit a parse tree produced byJavaParser.methodCall().Visit a parse tree produced byJavaParser.methodDeclaration().Visit a parse tree produced byJavaParser.modifier().Visit a parse tree produced byJavaParser.nonWildcardTypeArguments().Visit a parse tree produced byJavaParser.nonWildcardTypeArgumentsOrDiamond().Visit a parse tree produced byJavaParser.packageDeclaration().Visit a parse tree produced byJavaParser.parExpression().Visit a parse tree produced byJavaParser.primary().Visit a parse tree produced byJavaParser.primitiveType().Visit a parse tree produced byJavaParser.qualifiedName().Visit a parse tree produced byJavaParser.qualifiedNameList().Visit a parse tree produced byJavaParser.resource().Visit a parse tree produced byJavaParser.resources().Visit a parse tree produced byJavaParser.resourceSpecification().Visit a parse tree produced byJavaParser.statement().Visit a parse tree produced byJavaParser.superSuffix().Visit a parse tree produced byJavaParser.switchBlockStatementGroup().Visit a parse tree produced byJavaParser.switchLabel().Visit a parse tree produced byJavaParser.typeArgument().Visit a parse tree produced byJavaParser.typeArguments().Visit a parse tree produced byJavaParser.typeArgumentsOrDiamond().Visit a parse tree produced byJavaParser.typeBound().Visit a parse tree produced byJavaParser.typeDeclaration().Visit a parse tree produced byJavaParser.typeList().Visit a parse tree produced byJavaParser.typeParameter().Visit a parse tree produced byJavaParser.typeParameters().Visit a parse tree produced byJavaParser.typeType().Visit a parse tree produced byJavaParser.typeTypeOrVoid().Visit a parse tree produced byJavaParser.variableDeclarator().Visit a parse tree produced byJavaParser.variableDeclaratorId().Visit a parse tree produced byJavaParser.variableDeclarators().Visit a parse tree produced byJavaParser.variableInitializer().Visit a parse tree produced byJavaParser.variableModifier().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byJavaParser.compilationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byJavaParser.packageDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Visit a parse tree produced byJavaParser.importDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byJavaParser.typeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byJavaParser.modifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
Visit a parse tree produced byJavaParser.classOrInterfaceModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byJavaParser.variableModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced byJavaParser.classDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byJavaParser.typeParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byJavaParser.typeParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byJavaParser.typeBound().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
Visit a parse tree produced byJavaParser.enumDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byJavaParser.enumConstants().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byJavaParser.enumConstant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
Visit a parse tree produced byJavaParser.enumBodyDeclarations().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
Visit a parse tree produced byJavaParser.interfaceDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byJavaParser.classBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
Visit a parse tree produced byJavaParser.interfaceBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
Visit a parse tree produced byJavaParser.classBodyDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Visit a parse tree produced byJavaParser.memberDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced byJavaParser.methodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byJavaParser.methodBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeTypeOrVoid
Visit a parse tree produced byJavaParser.typeTypeOrVoid().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericMethodDeclaration
Visit a parse tree produced byJavaParser.genericMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericConstructorDeclaration
Visit a parse tree produced byJavaParser.genericConstructorDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
Visit a parse tree produced byJavaParser.constructorDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Visit a parse tree produced byJavaParser.fieldDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
Visit a parse tree produced byJavaParser.interfaceBodyDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
Visit a parse tree produced byJavaParser.interfaceMemberDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstDeclaration
Visit a parse tree produced byJavaParser.constDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantDeclarator
Visit a parse tree produced byJavaParser.constantDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
Visit a parse tree produced byJavaParser.interfaceMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodModifier
Visit a parse tree produced byJavaParser.interfaceMethodModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericInterfaceMethodDeclaration
Visit a parse tree produced byJavaParser.genericInterfaceMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
Visit a parse tree produced byJavaParser.variableDeclarators().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byJavaParser.variableDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced byJavaParser.variableDeclaratorId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byJavaParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byJavaParser.arrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byJavaParser.classOrInterfaceType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
Visit a parse tree produced byJavaParser.typeArgument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
Visit a parse tree produced byJavaParser.qualifiedNameList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byJavaParser.formalParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byJavaParser.formalParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byJavaParser.formalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced byJavaParser.lastFormalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byJavaParser.qualifiedName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJavaParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced byJavaParser.integerLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
Visit a parse tree produced byJavaParser.floatLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byJavaParser.annotation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byJavaParser.elementValuePairs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byJavaParser.elementValuePair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byJavaParser.elementValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
Visit a parse tree produced byJavaParser.elementValueArrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
Visit a parse tree produced byJavaParser.annotationTypeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
Visit a parse tree produced byJavaParser.annotationTypeBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
Visit a parse tree produced byJavaParser.annotationTypeElementDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementRest
Visit a parse tree produced byJavaParser.annotationTypeElementRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodOrConstantRest
Visit a parse tree produced byJavaParser.annotationMethodOrConstantRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
Visit a parse tree produced byJavaParser.annotationMethodRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
Visit a parse tree produced byJavaParser.annotationConstantRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byJavaParser.defaultValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byJavaParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced byJavaParser.blockStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byJavaParser.localVariableDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
Visit a parse tree produced byJavaParser.localTypeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byJavaParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byJavaParser.catchClause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byJavaParser.catchType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byJavaParser.finallyBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
Visit a parse tree produced byJavaParser.resourceSpecification().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byJavaParser.resources().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byJavaParser.resource().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byJavaParser.switchBlockStatementGroup().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
Visit a parse tree produced byJavaParser.switchLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForControl
Visit a parse tree produced byJavaParser.forControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byJavaParser.forInit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byJavaParser.enhancedForControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byJavaParser.parExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byJavaParser.expressionList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced byJavaParser.methodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorCall
Visit a parse tree produced byJavaParser.constructorCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJavaParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
Visit a parse tree produced byJavaParser.lambdaExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaParameters
Visit a parse tree produced byJavaParser.lambdaParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
Visit a parse tree produced byJavaParser.lambdaBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byJavaParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassType
Visit a parse tree produced byJavaParser.classType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byJavaParser.creator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedName
Visit a parse tree produced byJavaParser.createdName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
Visit a parse tree produced byJavaParser.innerCreator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
Visit a parse tree produced byJavaParser.arrayCreatorRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
Visit a parse tree produced byJavaParser.classCreatorRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocation
Visit a parse tree produced byJavaParser.explicitGenericInvocation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
Visit a parse tree produced byJavaParser.typeArgumentsOrDiamond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgumentsOrDiamond
Visit a parse tree produced byJavaParser.nonWildcardTypeArgumentsOrDiamond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byJavaParser.nonWildcardTypeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byJavaParser.typeList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeType
Visit a parse tree produced byJavaParser.typeType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byJavaParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byJavaParser.typeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffix
Visit a parse tree produced byJavaParser.superSuffix().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocationSuffix
Visit a parse tree produced byJavaParser.explicitGenericInvocationSuffix().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byJavaParser.arguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-