Class Java7ParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
Java7ParserVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
SignatureReplacementVisitor
Java7ParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
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 class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
Java7ParserBaseVisitor
public Java7ParserBaseVisitor()
-
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byJava7Parser.compilationUnit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitCompilationUnitin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byJava7Parser.packageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitPackageDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Visit a parse tree produced byJava7Parser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitImportDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byJava7Parser.typeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byJava7Parser.modifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitModifierin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
Visit a parse tree produced byJava7Parser.classOrInterfaceModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassOrInterfaceModifierin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byJava7Parser.variableModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitVariableModifierin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced byJava7Parser.classDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byJava7Parser.typeParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeParametersin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byJava7Parser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeParameterin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byJava7Parser.typeBound().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeBoundin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
Visit a parse tree produced byJava7Parser.enumDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnumDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byJava7Parser.enumConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnumConstantsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byJava7Parser.enumConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnumConstantin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
Visit a parse tree produced byJava7Parser.enumBodyDeclarations().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnumBodyDeclarationsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
Visit a parse tree produced byJava7Parser.interfaceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInterfaceDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byJava7Parser.typeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeListin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byJava7Parser.classBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassBodyin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
Visit a parse tree produced byJava7Parser.interfaceBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInterfaceBodyin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
Visit a parse tree produced byJava7Parser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassBodyDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Visit a parse tree produced byJava7Parser.memberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitMemberDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced byJava7Parser.methodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitMethodDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericMethodDeclaration
Visit a parse tree produced byJava7Parser.genericMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitGenericMethodDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
Visit a parse tree produced byJava7Parser.constructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitConstructorDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericConstructorDeclaration
Visit a parse tree produced byJava7Parser.genericConstructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitGenericConstructorDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Visit a parse tree produced byJava7Parser.fieldDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitFieldDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
Visit a parse tree produced byJava7Parser.interfaceBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInterfaceBodyDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
Visit a parse tree produced byJava7Parser.interfaceMemberDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInterfaceMemberDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstDeclaration
Visit a parse tree produced byJava7Parser.constDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitConstDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantDeclarator
Visit a parse tree produced byJava7Parser.constantDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitConstantDeclaratorin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
Visit a parse tree produced byJava7Parser.interfaceMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInterfaceMethodDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericInterfaceMethodDeclaration
public T visitGenericInterfaceMethodDeclaration(Java7Parser.GenericInterfaceMethodDeclarationContext ctx) Visit a parse tree produced byJava7Parser.genericInterfaceMethodDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitGenericInterfaceMethodDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
Visit a parse tree produced byJava7Parser.variableDeclarators().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitVariableDeclaratorsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byJava7Parser.variableDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitVariableDeclaratorin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced byJava7Parser.variableDeclaratorId().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitVariableDeclaratorIdin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byJava7Parser.variableInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitVariableInitializerin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byJava7Parser.arrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitArrayInitializerin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstantName
Visit a parse tree produced byJava7Parser.enumConstantName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnumConstantNamein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced byJava7Parser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byJava7Parser.classOrInterfaceType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypePair
Visit a parse tree produced byJava7Parser.identifierTypePair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitIdentifierTypePairin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byJava7Parser.primitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitPrimitiveTypein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byJava7Parser.typeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeArgumentsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
Visit a parse tree produced byJava7Parser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeArgumentin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
Visit a parse tree produced byJava7Parser.qualifiedNameList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitQualifiedNameListin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byJava7Parser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byJava7Parser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byJava7Parser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced byJava7Parser.lastFormalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitLastFormalParameterin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byJava7Parser.methodBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitMethodBodyin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorBody
Visit a parse tree produced byJava7Parser.constructorBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitConstructorBodyin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byJava7Parser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJava7Parser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitLiteralin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byJava7Parser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
Visit a parse tree produced byJava7Parser.annotationName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationNamein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byJava7Parser.elementValuePairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitElementValuePairsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byJava7Parser.elementValuePair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitElementValuePairin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byJava7Parser.elementValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitElementValuein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
Visit a parse tree produced byJava7Parser.elementValueArrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitElementValueArrayInitializerin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
Visit a parse tree produced byJava7Parser.annotationTypeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationTypeDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
Visit a parse tree produced byJava7Parser.annotationTypeBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationTypeBodyin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
public T visitAnnotationTypeElementDeclaration(Java7Parser.AnnotationTypeElementDeclarationContext ctx) Visit a parse tree produced byJava7Parser.annotationTypeElementDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationTypeElementDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementRest
Visit a parse tree produced byJava7Parser.annotationTypeElementRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationTypeElementRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodOrConstantRest
Visit a parse tree produced byJava7Parser.annotationMethodOrConstantRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationMethodOrConstantRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
Visit a parse tree produced byJava7Parser.annotationMethodRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationMethodRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
Visit a parse tree produced byJava7Parser.annotationConstantRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitAnnotationConstantRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byJava7Parser.defaultValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitDefaultValuein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byJava7Parser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitBlockin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced byJava7Parser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitBlockStatementin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclarationStatement
public T visitLocalVariableDeclarationStatement(Java7Parser.LocalVariableDeclarationStatementContext ctx) Visit a parse tree produced byJava7Parser.localVariableDeclarationStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitLocalVariableDeclarationStatementin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byJava7Parser.localVariableDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitLocalVariableDeclarationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byJava7Parser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitStatementin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byJava7Parser.catchClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitCatchClausein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byJava7Parser.catchType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitCatchTypein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byJava7Parser.finallyBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitFinallyBlockin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
Visit a parse tree produced byJava7Parser.resourceSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitResourceSpecificationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byJava7Parser.resources().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitResourcesin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byJava7Parser.resource().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitResourcein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byJava7Parser.switchBlockStatementGroup().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitSwitchBlockStatementGroupin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
Visit a parse tree produced byJava7Parser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitSwitchLabelin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForControl
Visit a parse tree produced byJava7Parser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitForControlin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byJava7Parser.forInit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitForInitin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byJava7Parser.enhancedForControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitEnhancedForControlin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForUpdate
Visit a parse tree produced byJava7Parser.forUpdate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitForUpdatein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byJava7Parser.parExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitParExpressionin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byJava7Parser.expressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitExpressionListin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatementExpression
Visit a parse tree produced byJava7Parser.statementExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitStatementExpressionin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantExpression
Visit a parse tree produced byJava7Parser.constantExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitConstantExpressionin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJava7Parser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitExpressionin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byJava7Parser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitPrimaryin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byJava7Parser.creator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitCreatorin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedName
Visit a parse tree produced byJava7Parser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitCreatedNamein interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifierTypeOrDiamondPair
Visit a parse tree produced byJava7Parser.identifierTypeOrDiamondPair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitIdentifierTypeOrDiamondPairin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
Visit a parse tree produced byJava7Parser.innerCreator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitInnerCreatorin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
Visit a parse tree produced byJava7Parser.arrayCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitArrayCreatorRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
Visit a parse tree produced byJava7Parser.classCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitClassCreatorRestin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocation
Visit a parse tree produced byJava7Parser.explicitGenericInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitExplicitGenericInvocationin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byJava7Parser.nonWildcardTypeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
Visit a parse tree produced byJava7Parser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitTypeArgumentsOrDiamondin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgumentsOrDiamond
public T visitNonWildcardTypeArgumentsOrDiamond(Java7Parser.NonWildcardTypeArgumentsOrDiamondContext ctx) Visit a parse tree produced byJava7Parser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsOrDiamondin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffix
Visit a parse tree produced byJava7Parser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitSuperSuffixin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitGenericInvocationSuffix
public T visitExplicitGenericInvocationSuffix(Java7Parser.ExplicitGenericInvocationSuffixContext ctx) Visit a parse tree produced byJava7Parser.explicitGenericInvocationSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitExplicitGenericInvocationSuffixin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byJava7Parser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitArgumentsin interfaceJava7ParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-