T
- The return type of the visit operation. Use Void
for
operations with no return type.public class Java7ParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements Java7ParserVisitor<T>
Java7ParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
Java7ParserBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitCompilationUnit(Java7Parser.CompilationUnitContext ctx)
Java7Parser.compilationUnit()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCompilationUnit
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitPackageDeclaration(Java7Parser.PackageDeclarationContext ctx)
Java7Parser.packageDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPackageDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitImportDeclaration(Java7Parser.ImportDeclarationContext ctx)
Java7Parser.importDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitImportDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeDeclaration(Java7Parser.TypeDeclarationContext ctx)
Java7Parser.typeDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitModifier(Java7Parser.ModifierContext ctx)
Java7Parser.modifier()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitModifier
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassOrInterfaceModifier(Java7Parser.ClassOrInterfaceModifierContext ctx)
Java7Parser.classOrInterfaceModifier()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassOrInterfaceModifier
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitVariableModifier(Java7Parser.VariableModifierContext ctx)
Java7Parser.variableModifier()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariableModifier
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassDeclaration(Java7Parser.ClassDeclarationContext ctx)
Java7Parser.classDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeParameters(Java7Parser.TypeParametersContext ctx)
Java7Parser.typeParameters()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeParameters
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeParameter(Java7Parser.TypeParameterContext ctx)
Java7Parser.typeParameter()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeParameter
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeBound(Java7Parser.TypeBoundContext ctx)
Java7Parser.typeBound()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeBound
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnumDeclaration(Java7Parser.EnumDeclarationContext ctx)
Java7Parser.enumDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnumConstants(Java7Parser.EnumConstantsContext ctx)
Java7Parser.enumConstants()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumConstants
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnumConstant(Java7Parser.EnumConstantContext ctx)
Java7Parser.enumConstant()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumConstant
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnumBodyDeclarations(Java7Parser.EnumBodyDeclarationsContext ctx)
Java7Parser.enumBodyDeclarations()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumBodyDeclarations
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInterfaceDeclaration(Java7Parser.InterfaceDeclarationContext ctx)
Java7Parser.interfaceDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInterfaceDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeList(Java7Parser.TypeListContext ctx)
Java7Parser.typeList()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeList
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassBody(Java7Parser.ClassBodyContext ctx)
Java7Parser.classBody()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassBody
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInterfaceBody(Java7Parser.InterfaceBodyContext ctx)
Java7Parser.interfaceBody()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInterfaceBody
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassBodyDeclaration(Java7Parser.ClassBodyDeclarationContext ctx)
Java7Parser.classBodyDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassBodyDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitMemberDeclaration(Java7Parser.MemberDeclarationContext ctx)
Java7Parser.memberDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMemberDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitMethodDeclaration(Java7Parser.MethodDeclarationContext ctx)
Java7Parser.methodDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMethodDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitGenericMethodDeclaration(Java7Parser.GenericMethodDeclarationContext ctx)
Java7Parser.genericMethodDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitGenericMethodDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitConstructorDeclaration(Java7Parser.ConstructorDeclarationContext ctx)
Java7Parser.constructorDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstructorDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitGenericConstructorDeclaration(Java7Parser.GenericConstructorDeclarationContext ctx)
Java7Parser.genericConstructorDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitGenericConstructorDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitFieldDeclaration(Java7Parser.FieldDeclarationContext ctx)
Java7Parser.fieldDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFieldDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInterfaceBodyDeclaration(Java7Parser.InterfaceBodyDeclarationContext ctx)
Java7Parser.interfaceBodyDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInterfaceBodyDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInterfaceMemberDeclaration(Java7Parser.InterfaceMemberDeclarationContext ctx)
Java7Parser.interfaceMemberDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInterfaceMemberDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitConstDeclaration(Java7Parser.ConstDeclarationContext ctx)
Java7Parser.constDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitConstantDeclarator(Java7Parser.ConstantDeclaratorContext ctx)
Java7Parser.constantDeclarator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstantDeclarator
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInterfaceMethodDeclaration(Java7Parser.InterfaceMethodDeclarationContext ctx)
Java7Parser.interfaceMethodDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInterfaceMethodDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitGenericInterfaceMethodDeclaration(Java7Parser.GenericInterfaceMethodDeclarationContext ctx)
Java7Parser.genericInterfaceMethodDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitGenericInterfaceMethodDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitVariableDeclarators(Java7Parser.VariableDeclaratorsContext ctx)
Java7Parser.variableDeclarators()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariableDeclarators
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitVariableDeclarator(Java7Parser.VariableDeclaratorContext ctx)
Java7Parser.variableDeclarator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariableDeclarator
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitVariableDeclaratorId(Java7Parser.VariableDeclaratorIdContext ctx)
Java7Parser.variableDeclaratorId()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariableDeclaratorId
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitVariableInitializer(Java7Parser.VariableInitializerContext ctx)
Java7Parser.variableInitializer()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariableInitializer
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitArrayInitializer(Java7Parser.ArrayInitializerContext ctx)
Java7Parser.arrayInitializer()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrayInitializer
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnumConstantName(Java7Parser.EnumConstantNameContext ctx)
Java7Parser.enumConstantName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnumConstantName
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitType(Java7Parser.TypeContext ctx)
Java7Parser.type()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitType
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassOrInterfaceType(Java7Parser.ClassOrInterfaceTypeContext ctx)
Java7Parser.classOrInterfaceType()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassOrInterfaceType
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitIdentifierTypePair(Java7Parser.IdentifierTypePairContext ctx)
Java7Parser.identifierTypePair()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIdentifierTypePair
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitPrimitiveType(Java7Parser.PrimitiveTypeContext ctx)
Java7Parser.primitiveType()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPrimitiveType
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeArguments(Java7Parser.TypeArgumentsContext ctx)
Java7Parser.typeArguments()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeArguments
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeArgument(Java7Parser.TypeArgumentContext ctx)
Java7Parser.typeArgument()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeArgument
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitQualifiedNameList(Java7Parser.QualifiedNameListContext ctx)
Java7Parser.qualifiedNameList()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitQualifiedNameList
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitFormalParameters(Java7Parser.FormalParametersContext ctx)
Java7Parser.formalParameters()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFormalParameters
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitFormalParameterList(Java7Parser.FormalParameterListContext ctx)
Java7Parser.formalParameterList()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFormalParameterList
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitFormalParameter(Java7Parser.FormalParameterContext ctx)
Java7Parser.formalParameter()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFormalParameter
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitLastFormalParameter(Java7Parser.LastFormalParameterContext ctx)
Java7Parser.lastFormalParameter()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLastFormalParameter
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitMethodBody(Java7Parser.MethodBodyContext ctx)
Java7Parser.methodBody()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMethodBody
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitConstructorBody(Java7Parser.ConstructorBodyContext ctx)
Java7Parser.constructorBody()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstructorBody
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitQualifiedName(Java7Parser.QualifiedNameContext ctx)
Java7Parser.qualifiedName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitQualifiedName
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitLiteral(Java7Parser.LiteralContext ctx)
Java7Parser.literal()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLiteral
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotation(Java7Parser.AnnotationContext ctx)
Java7Parser.annotation()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotation
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationName(Java7Parser.AnnotationNameContext ctx)
Java7Parser.annotationName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationName
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitElementValuePairs(Java7Parser.ElementValuePairsContext ctx)
Java7Parser.elementValuePairs()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElementValuePairs
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitElementValuePair(Java7Parser.ElementValuePairContext ctx)
Java7Parser.elementValuePair()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElementValuePair
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitElementValue(Java7Parser.ElementValueContext ctx)
Java7Parser.elementValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElementValue
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitElementValueArrayInitializer(Java7Parser.ElementValueArrayInitializerContext ctx)
Java7Parser.elementValueArrayInitializer()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitElementValueArrayInitializer
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationTypeDeclaration(Java7Parser.AnnotationTypeDeclarationContext ctx)
Java7Parser.annotationTypeDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationTypeDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationTypeBody(Java7Parser.AnnotationTypeBodyContext ctx)
Java7Parser.annotationTypeBody()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationTypeBody
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationTypeElementDeclaration(Java7Parser.AnnotationTypeElementDeclarationContext ctx)
Java7Parser.annotationTypeElementDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationTypeElementDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationTypeElementRest(Java7Parser.AnnotationTypeElementRestContext ctx)
Java7Parser.annotationTypeElementRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationTypeElementRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationMethodOrConstantRest(Java7Parser.AnnotationMethodOrConstantRestContext ctx)
Java7Parser.annotationMethodOrConstantRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationMethodOrConstantRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationMethodRest(Java7Parser.AnnotationMethodRestContext ctx)
Java7Parser.annotationMethodRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationMethodRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitAnnotationConstantRest(Java7Parser.AnnotationConstantRestContext ctx)
Java7Parser.annotationConstantRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnnotationConstantRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitDefaultValue(Java7Parser.DefaultValueContext ctx)
Java7Parser.defaultValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDefaultValue
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitBlock(Java7Parser.BlockContext ctx)
Java7Parser.block()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBlock
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitBlockStatement(Java7Parser.BlockStatementContext ctx)
Java7Parser.blockStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBlockStatement
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitLocalVariableDeclarationStatement(Java7Parser.LocalVariableDeclarationStatementContext ctx)
Java7Parser.localVariableDeclarationStatement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLocalVariableDeclarationStatement
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitLocalVariableDeclaration(Java7Parser.LocalVariableDeclarationContext ctx)
Java7Parser.localVariableDeclaration()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLocalVariableDeclaration
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitStatement(Java7Parser.StatementContext ctx)
Java7Parser.statement()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStatement
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitCatchClause(Java7Parser.CatchClauseContext ctx)
Java7Parser.catchClause()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCatchClause
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitCatchType(Java7Parser.CatchTypeContext ctx)
Java7Parser.catchType()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCatchType
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitFinallyBlock(Java7Parser.FinallyBlockContext ctx)
Java7Parser.finallyBlock()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFinallyBlock
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitResourceSpecification(Java7Parser.ResourceSpecificationContext ctx)
Java7Parser.resourceSpecification()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitResourceSpecification
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitResources(Java7Parser.ResourcesContext ctx)
Java7Parser.resources()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitResources
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitResource(Java7Parser.ResourceContext ctx)
Java7Parser.resource()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitResource
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitSwitchBlockStatementGroup(Java7Parser.SwitchBlockStatementGroupContext ctx)
Java7Parser.switchBlockStatementGroup()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSwitchBlockStatementGroup
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitSwitchLabel(Java7Parser.SwitchLabelContext ctx)
Java7Parser.switchLabel()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSwitchLabel
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitForControl(Java7Parser.ForControlContext ctx)
Java7Parser.forControl()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitForControl
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitForInit(Java7Parser.ForInitContext ctx)
Java7Parser.forInit()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitForInit
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitEnhancedForControl(Java7Parser.EnhancedForControlContext ctx)
Java7Parser.enhancedForControl()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitEnhancedForControl
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitForUpdate(Java7Parser.ForUpdateContext ctx)
Java7Parser.forUpdate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitForUpdate
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitParExpression(Java7Parser.ParExpressionContext ctx)
Java7Parser.parExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParExpression
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitExpressionList(Java7Parser.ExpressionListContext ctx)
Java7Parser.expressionList()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpressionList
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitStatementExpression(Java7Parser.StatementExpressionContext ctx)
Java7Parser.statementExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStatementExpression
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitConstantExpression(Java7Parser.ConstantExpressionContext ctx)
Java7Parser.constantExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstantExpression
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitExpression(Java7Parser.ExpressionContext ctx)
Java7Parser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExpression
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitPrimary(Java7Parser.PrimaryContext ctx)
Java7Parser.primary()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPrimary
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitCreator(Java7Parser.CreatorContext ctx)
Java7Parser.creator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCreator
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitCreatedName(Java7Parser.CreatedNameContext ctx)
Java7Parser.createdName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCreatedName
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitIdentifierTypeOrDiamondPair(Java7Parser.IdentifierTypeOrDiamondPairContext ctx)
Java7Parser.identifierTypeOrDiamondPair()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIdentifierTypeOrDiamondPair
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitInnerCreator(Java7Parser.InnerCreatorContext ctx)
Java7Parser.innerCreator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInnerCreator
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitArrayCreatorRest(Java7Parser.ArrayCreatorRestContext ctx)
Java7Parser.arrayCreatorRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrayCreatorRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitClassCreatorRest(Java7Parser.ClassCreatorRestContext ctx)
Java7Parser.classCreatorRest()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitClassCreatorRest
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitExplicitGenericInvocation(Java7Parser.ExplicitGenericInvocationContext ctx)
Java7Parser.explicitGenericInvocation()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExplicitGenericInvocation
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitNonWildcardTypeArguments(Java7Parser.NonWildcardTypeArgumentsContext ctx)
Java7Parser.nonWildcardTypeArguments()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNonWildcardTypeArguments
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitTypeArgumentsOrDiamond(Java7Parser.TypeArgumentsOrDiamondContext ctx)
Java7Parser.typeArgumentsOrDiamond()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTypeArgumentsOrDiamond
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitNonWildcardTypeArgumentsOrDiamond(Java7Parser.NonWildcardTypeArgumentsOrDiamondContext ctx)
Java7Parser.nonWildcardTypeArgumentsOrDiamond()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNonWildcardTypeArgumentsOrDiamond
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitSuperSuffix(Java7Parser.SuperSuffixContext ctx)
Java7Parser.superSuffix()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSuperSuffix
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitExplicitGenericInvocationSuffix(Java7Parser.ExplicitGenericInvocationSuffixContext ctx)
Java7Parser.explicitGenericInvocationSuffix()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitExplicitGenericInvocationSuffix
in interface Java7ParserVisitor<T>
ctx
- the parse treepublic T visitArguments(Java7Parser.ArgumentsContext ctx)
Java7Parser.arguments()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArguments
in interface Java7ParserVisitor<T>
ctx
- the parse treeCopyright © 2020 Carrot Search s.c.. All rights reserved.