Interface Java7ParserVisitor<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:
Java7ParserBaseVisitor, SignatureReplacementVisitor
public interface Java7ParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
Java7Parser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byJava7Parser.annotation().Visit a parse tree produced byJava7Parser.annotationConstantRest().Visit a parse tree produced byJava7Parser.annotationMethodOrConstantRest().Visit a parse tree produced byJava7Parser.annotationMethodRest().Visit a parse tree produced byJava7Parser.annotationName().Visit a parse tree produced byJava7Parser.annotationTypeBody().Visit a parse tree produced byJava7Parser.annotationTypeDeclaration().Visit a parse tree produced byJava7Parser.annotationTypeElementDeclaration().Visit a parse tree produced byJava7Parser.annotationTypeElementRest().Visit a parse tree produced byJava7Parser.arguments().Visit a parse tree produced byJava7Parser.arrayCreatorRest().Visit a parse tree produced byJava7Parser.arrayInitializer().Visit a parse tree produced byJava7Parser.block().Visit a parse tree produced byJava7Parser.blockStatement().Visit a parse tree produced byJava7Parser.catchClause().Visit a parse tree produced byJava7Parser.catchType().Visit a parse tree produced byJava7Parser.classBody().Visit a parse tree produced byJava7Parser.classBodyDeclaration().Visit a parse tree produced byJava7Parser.classCreatorRest().Visit a parse tree produced byJava7Parser.classDeclaration().Visit a parse tree produced byJava7Parser.classOrInterfaceModifier().Visit a parse tree produced byJava7Parser.classOrInterfaceType().Visit a parse tree produced byJava7Parser.compilationUnit().Visit a parse tree produced byJava7Parser.constantDeclarator().Visit a parse tree produced byJava7Parser.constantExpression().Visit a parse tree produced byJava7Parser.constDeclaration().Visit a parse tree produced byJava7Parser.constructorBody().Visit a parse tree produced byJava7Parser.constructorDeclaration().Visit a parse tree produced byJava7Parser.createdName().Visit a parse tree produced byJava7Parser.creator().Visit a parse tree produced byJava7Parser.defaultValue().Visit a parse tree produced byJava7Parser.elementValue().Visit a parse tree produced byJava7Parser.elementValueArrayInitializer().Visit a parse tree produced byJava7Parser.elementValuePair().Visit a parse tree produced byJava7Parser.elementValuePairs().Visit a parse tree produced byJava7Parser.enhancedForControl().Visit a parse tree produced byJava7Parser.enumBodyDeclarations().Visit a parse tree produced byJava7Parser.enumConstant().Visit a parse tree produced byJava7Parser.enumConstantName().Visit a parse tree produced byJava7Parser.enumConstants().Visit a parse tree produced byJava7Parser.enumDeclaration().Visit a parse tree produced byJava7Parser.explicitGenericInvocation().Visit a parse tree produced byJava7Parser.explicitGenericInvocationSuffix().Visit a parse tree produced byJava7Parser.expression().Visit a parse tree produced byJava7Parser.expressionList().Visit a parse tree produced byJava7Parser.fieldDeclaration().Visit a parse tree produced byJava7Parser.finallyBlock().Visit a parse tree produced byJava7Parser.forControl().Visit a parse tree produced byJava7Parser.forInit().Visit a parse tree produced byJava7Parser.formalParameter().Visit a parse tree produced byJava7Parser.formalParameterList().Visit a parse tree produced byJava7Parser.formalParameters().Visit a parse tree produced byJava7Parser.forUpdate().Visit a parse tree produced byJava7Parser.genericConstructorDeclaration().Visit a parse tree produced byJava7Parser.genericInterfaceMethodDeclaration().Visit a parse tree produced byJava7Parser.genericMethodDeclaration().Visit a parse tree produced byJava7Parser.identifierTypeOrDiamondPair().Visit a parse tree produced byJava7Parser.identifierTypePair().Visit a parse tree produced byJava7Parser.importDeclaration().Visit a parse tree produced byJava7Parser.innerCreator().Visit a parse tree produced byJava7Parser.interfaceBody().Visit a parse tree produced byJava7Parser.interfaceBodyDeclaration().Visit a parse tree produced byJava7Parser.interfaceDeclaration().Visit a parse tree produced byJava7Parser.interfaceMemberDeclaration().Visit a parse tree produced byJava7Parser.interfaceMethodDeclaration().Visit a parse tree produced byJava7Parser.lastFormalParameter().Visit a parse tree produced byJava7Parser.literal().Visit a parse tree produced byJava7Parser.localVariableDeclaration().Visit a parse tree produced byJava7Parser.localVariableDeclarationStatement().Visit a parse tree produced byJava7Parser.memberDeclaration().Visit a parse tree produced byJava7Parser.methodBody().Visit a parse tree produced byJava7Parser.methodDeclaration().Visit a parse tree produced byJava7Parser.modifier().Visit a parse tree produced byJava7Parser.nonWildcardTypeArguments().Visit a parse tree produced byJava7Parser.nonWildcardTypeArgumentsOrDiamond().Visit a parse tree produced byJava7Parser.packageDeclaration().Visit a parse tree produced byJava7Parser.parExpression().Visit a parse tree produced byJava7Parser.primary().Visit a parse tree produced byJava7Parser.primitiveType().Visit a parse tree produced byJava7Parser.qualifiedName().Visit a parse tree produced byJava7Parser.qualifiedNameList().Visit a parse tree produced byJava7Parser.resource().Visit a parse tree produced byJava7Parser.resources().Visit a parse tree produced byJava7Parser.resourceSpecification().Visit a parse tree produced byJava7Parser.statement().Visit a parse tree produced byJava7Parser.statementExpression().Visit a parse tree produced byJava7Parser.superSuffix().Visit a parse tree produced byJava7Parser.switchBlockStatementGroup().Visit a parse tree produced byJava7Parser.switchLabel().Visit a parse tree produced byJava7Parser.type().Visit a parse tree produced byJava7Parser.typeArgument().Visit a parse tree produced byJava7Parser.typeArguments().Visit a parse tree produced byJava7Parser.typeArgumentsOrDiamond().Visit a parse tree produced byJava7Parser.typeBound().Visit a parse tree produced byJava7Parser.typeDeclaration().Visit a parse tree produced byJava7Parser.typeList().Visit a parse tree produced byJava7Parser.typeParameter().Visit a parse tree produced byJava7Parser.typeParameters().Visit a parse tree produced byJava7Parser.variableDeclarator().Visit a parse tree produced byJava7Parser.variableDeclaratorId().Visit a parse tree produced byJava7Parser.variableDeclarators().Visit a parse tree produced byJava7Parser.variableInitializer().Visit a parse tree produced byJava7Parser.variableModifier().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byJava7Parser.compilationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byJava7Parser.packageDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Visit a parse tree produced byJava7Parser.importDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byJava7Parser.typeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byJava7Parser.modifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
Visit a parse tree produced byJava7Parser.classOrInterfaceModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byJava7Parser.variableModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced byJava7Parser.classDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byJava7Parser.typeParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byJava7Parser.typeParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byJava7Parser.typeBound().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
Visit a parse tree produced byJava7Parser.enumDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byJava7Parser.enumConstants().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byJava7Parser.enumConstant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
Visit a parse tree produced byJava7Parser.enumBodyDeclarations().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
Visit a parse tree produced byJava7Parser.interfaceDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byJava7Parser.typeList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byJava7Parser.classBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
Visit a parse tree produced byJava7Parser.interfaceBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
Visit a parse tree produced byJava7Parser.classBodyDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Visit a parse tree produced byJava7Parser.memberDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced byJava7Parser.methodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericMethodDeclaration
Visit a parse tree produced byJava7Parser.genericMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
Visit a parse tree produced byJava7Parser.constructorDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericConstructorDeclaration
Visit a parse tree produced byJava7Parser.genericConstructorDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Visit a parse tree produced byJava7Parser.fieldDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
Visit a parse tree produced byJava7Parser.interfaceBodyDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
Visit a parse tree produced byJava7Parser.interfaceMemberDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstDeclaration
Visit a parse tree produced byJava7Parser.constDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantDeclarator
Visit a parse tree produced byJava7Parser.constantDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
Visit a parse tree produced byJava7Parser.interfaceMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericInterfaceMethodDeclaration
Visit a parse tree produced byJava7Parser.genericInterfaceMethodDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
Visit a parse tree produced byJava7Parser.variableDeclarators().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byJava7Parser.variableDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced byJava7Parser.variableDeclaratorId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byJava7Parser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byJava7Parser.arrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstantName
Visit a parse tree produced byJava7Parser.enumConstantName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced byJava7Parser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byJava7Parser.classOrInterfaceType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypePair
Visit a parse tree produced byJava7Parser.identifierTypePair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byJava7Parser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byJava7Parser.typeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
Visit a parse tree produced byJava7Parser.typeArgument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
Visit a parse tree produced byJava7Parser.qualifiedNameList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byJava7Parser.formalParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byJava7Parser.formalParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byJava7Parser.formalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced byJava7Parser.lastFormalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byJava7Parser.methodBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorBody
Visit a parse tree produced byJava7Parser.constructorBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byJava7Parser.qualifiedName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJava7Parser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byJava7Parser.annotation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
Visit a parse tree produced byJava7Parser.annotationName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byJava7Parser.elementValuePairs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byJava7Parser.elementValuePair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byJava7Parser.elementValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
Visit a parse tree produced byJava7Parser.elementValueArrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
Visit a parse tree produced byJava7Parser.annotationTypeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
Visit a parse tree produced byJava7Parser.annotationTypeBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
Visit a parse tree produced byJava7Parser.annotationTypeElementDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementRest
Visit a parse tree produced byJava7Parser.annotationTypeElementRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodOrConstantRest
Visit a parse tree produced byJava7Parser.annotationMethodOrConstantRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
Visit a parse tree produced byJava7Parser.annotationMethodRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
Visit a parse tree produced byJava7Parser.annotationConstantRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byJava7Parser.defaultValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byJava7Parser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced byJava7Parser.blockStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclarationStatement
Visit a parse tree produced byJava7Parser.localVariableDeclarationStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byJava7Parser.localVariableDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byJava7Parser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byJava7Parser.catchClause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byJava7Parser.catchType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byJava7Parser.finallyBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
Visit a parse tree produced byJava7Parser.resourceSpecification().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byJava7Parser.resources().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byJava7Parser.resource().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byJava7Parser.switchBlockStatementGroup().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
Visit a parse tree produced byJava7Parser.switchLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForControl
Visit a parse tree produced byJava7Parser.forControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byJava7Parser.forInit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byJava7Parser.enhancedForControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForUpdate
Visit a parse tree produced byJava7Parser.forUpdate().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byJava7Parser.parExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byJava7Parser.expressionList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatementExpression
Visit a parse tree produced byJava7Parser.statementExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantExpression
Visit a parse tree produced byJava7Parser.constantExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJava7Parser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byJava7Parser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byJava7Parser.creator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedName
Visit a parse tree produced byJava7Parser.createdName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypeOrDiamondPair
Visit a parse tree produced byJava7Parser.identifierTypeOrDiamondPair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
Visit a parse tree produced byJava7Parser.innerCreator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
Visit a parse tree produced byJava7Parser.arrayCreatorRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
Visit a parse tree produced byJava7Parser.classCreatorRest().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocation
Visit a parse tree produced byJava7Parser.explicitGenericInvocation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byJava7Parser.nonWildcardTypeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
Visit a parse tree produced byJava7Parser.typeArgumentsOrDiamond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgumentsOrDiamond
Visit a parse tree produced byJava7Parser.nonWildcardTypeArgumentsOrDiamond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffix
Visit a parse tree produced byJava7Parser.superSuffix().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocationSuffix
Visit a parse tree produced byJava7Parser.explicitGenericInvocationSuffix().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byJava7Parser.arguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-