Class JavaLanguageParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
JavaLanguageParserVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
JavaAstVisitor
JavaLanguageParserVisitor,
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 byJavaLanguageParser.annotation().Visit a parse tree produced by theannotationFieldlabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).Visit a parse tree produced byJavaLanguageParser.annotations(boolean).Visit a parse tree produced by theannotationTypelabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).Visit a parse tree produced byJavaLanguageParser.annotationTypeBody().visitAnnotationTypeElementDeclaration(JavaLanguageParser.AnnotationTypeElementDeclarationContext ctx) Visit a parse tree produced byJavaLanguageParser.annotationTypeElementDeclaration().Visit a parse tree produced byJavaLanguageParser.arguments().Visit a parse tree produced byJavaLanguageParser.arrayCreatorRest().Visit a parse tree produced byJavaLanguageParser.arrayDeclarator().Visit a parse tree produced byJavaLanguageParser.arrayInitializer().Visit a parse tree produced by theassertExplabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thebinOplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by thebitShiftlabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.block().Visit a parse tree produced by theblockStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.bracketsWithExp().Visit a parse tree produced by thebreakStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.caseConstant().Visit a parse tree produced byJavaLanguageParser.caseConstants().Visit a parse tree produced by thecaseLabellabeled alternative inJavaLanguageParser.switchLabel().Visit a parse tree produced by thecastExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.catchClause().Visit a parse tree produced byJavaLanguageParser.catchParameter().Visit a parse tree produced byJavaLanguageParser.catchType().Visit a parse tree produced by theclassBlocklabeled alternative inJavaLanguageParser.classBodyDeclaration().Visit a parse tree produced byJavaLanguageParser.classBody().Visit a parse tree produced byJavaLanguageParser.classCreatorRest().Visit a parse tree produced by theclassDeflabeled alternative inJavaLanguageParser.classBodyDeclaration().Visit a parse tree produced byJavaLanguageParser.classExtends().Visit a parse tree produced byJavaLanguageParser.classOrInterfaceOrPrimitiveType().Visit a parse tree produced byJavaLanguageParser.classOrInterfaceType(boolean).Visit a parse tree produced byJavaLanguageParser.classOrInterfaceTypeExtended().Visit a parse tree produced by theclassRefPrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced byJavaLanguageParser.classType().Visit a parse tree produced byJavaLanguageParser.compactConstructorDeclaration().Visit a parse tree produced byJavaLanguageParser.compilationUnit().Visit a parse tree produced byJavaLanguageParser.constructorBlock().Visit a parse tree produced by thecontinueStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.createdNameExtended().Visit a parse tree produced by thecreatedNameObjectlabeled alternative inJavaLanguageParser.createdName().Visit a parse tree produced by thecreatedNamePrimitivelabeled alternative inJavaLanguageParser.createdName().Visit a parse tree produced byJavaLanguageParser.creator().Visit a parse tree produced by thedefaultLabellabeled alternative inJavaLanguageParser.switchLabel().Visit a parse tree produced byJavaLanguageParser.defaultValue().Visit a parse tree produced by thediamondlabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().Visit a parse tree produced by thedoStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.elementValue().Visit a parse tree produced byJavaLanguageParser.elementValueArrayInitializer().Visit a parse tree produced byJavaLanguageParser.elementValuePair().Visit a parse tree produced byJavaLanguageParser.elementValuePairs().Visit a parse tree produced byJavaLanguageParser.elseStat().Visit a parse tree produced by theemptyClasslabeled alternative inJavaLanguageParser.classBodyDeclaration().Visit a parse tree produced by theemptyStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by theenhancedForlabeled alternative inJavaLanguageParser.forControl().Visit a parse tree produced byJavaLanguageParser.enhancedForControl().Visit a parse tree produced byJavaLanguageParser.enumBody().Visit a parse tree produced byJavaLanguageParser.enumBodyDeclarations().Visit a parse tree produced byJavaLanguageParser.enumConstant().Visit a parse tree produced byJavaLanguageParser.enumConstants().Visit a parse tree produced by theexplicitCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().Visit a parse tree produced byJavaLanguageParser.expression().Visit a parse tree produced byJavaLanguageParser.expressionList().Visit a parse tree produced by theexpStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.fieldAccessNoIdent().Visit a parse tree produced byJavaLanguageParser.finallyBlock().Visit a parse tree produced byJavaLanguageParser.floatLiteral().Visit a parse tree produced by theforForlabeled alternative inJavaLanguageParser.forControl().Visit a parse tree produced byJavaLanguageParser.forInit().Visit a parse tree produced by theformalLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().Visit a parse tree produced byJavaLanguageParser.formalParameter().Visit a parse tree produced byJavaLanguageParser.formalParameterList().Visit a parse tree produced byJavaLanguageParser.formalParameters().Visit a parse tree produced by theforStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.guardedPattern().Visit a parse tree produced byJavaLanguageParser.id().Visit a parse tree produced by theifStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.implementsClause().Visit a parse tree produced by theimportDeclabeled alternative inJavaLanguageParser.importDeclaration().Visit a parse tree produced by theindexOplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by theinitExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.innerCreator().Visit a parse tree produced by theinstanceOfExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.integerLiteral().Visit a parse tree produced byJavaLanguageParser.interfaceBody().Visit a parse tree produced byJavaLanguageParser.interfaceBodyDeclaration().Visit a parse tree produced byJavaLanguageParser.interfaceExtends().Visit a parse tree produced by theinvOplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by thelabelStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced byJavaLanguageParser.lambdaBody().Visit a parse tree produced by thelambdaExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.lambdaExpression().Visit a parse tree produced byJavaLanguageParser.lastFormalParameter().Visit a parse tree produced byJavaLanguageParser.lastRecordComponent().Visit a parse tree produced byJavaLanguageParser.literal().Visit a parse tree produced by theliteralPrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced by thelocalTypelabeled alternative inJavaLanguageParser.blockStatement().Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration().Visit a parse tree produced by thelocalVarlabeled alternative inJavaLanguageParser.blockStatement().Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration().Visit a parse tree produced byJavaLanguageParser.methodBody().Visit a parse tree produced by themethodCalllabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by themethodReflabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.modifier().Visit a parse tree produced by themultiLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().Visit a parse tree produced byJavaLanguageParser.multiLambdaParams().Visit a parse tree produced by thenewExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by thenonWildcardDiamondlabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().Visit a parse tree produced by thenonWildcardTypeArgslabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments().Visit a parse tree produced byJavaLanguageParser.packageDeclaration().Visit a parse tree produced by theparenPatternlabeled alternative inJavaLanguageParser.primaryPattern().Visit a parse tree produced by theparenPrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced byJavaLanguageParser.parExpression().Visit a parse tree produced byJavaLanguageParser.pattern().Visit a parse tree produced by thepatternVariableDeflabeled alternative inJavaLanguageParser.primaryPattern().visitPermittedSubclassesAndInterfaces(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx) Visit a parse tree produced byJavaLanguageParser.permittedSubclassesAndInterfaces().Visit a parse tree produced by thepostfixlabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by theprefixlabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by theprimaryCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().Visit a parse tree produced by theprimaryExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by theprimitivePrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced byJavaLanguageParser.primitiveType().Visit a parse tree produced byJavaLanguageParser.qualifiedName().Visit a parse tree produced byJavaLanguageParser.qualifiedNameExtended().Visit a parse tree produced byJavaLanguageParser.qualifiedNameList().Visit a parse tree produced byJavaLanguageParser.recordBody().Visit a parse tree produced byJavaLanguageParser.recordBodyDeclaration().Visit a parse tree produced byJavaLanguageParser.recordComponent().Visit a parse tree produced byJavaLanguageParser.recordComponents().Visit a parse tree produced byJavaLanguageParser.recordComponentsList().Visit a parse tree produced by therefOplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.resource().Visit a parse tree produced byJavaLanguageParser.resourceDeclaration().Visit a parse tree produced byJavaLanguageParser.resources().Visit a parse tree produced byJavaLanguageParser.resourceSpecification().Visit a parse tree produced by thereturnStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thesimpleMethodCalllabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by thesimpleTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().Visit a parse tree produced by thesingleLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().Visit a parse tree produced by thesingleSemiImportlabeled alternative inJavaLanguageParser.importDeclaration().Visit a parse tree produced by thestatlabeled alternative inJavaLanguageParser.blockStatement().Visit a parse tree produced by thesuperExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced by thesuperSuffixDotlabeled alternative inJavaLanguageParser.superSuffix().Visit a parse tree produced by thesuperSuffixSimplelabeled alternative inJavaLanguageParser.superSuffix().Visit a parse tree produced by theswitchBlockslabeled alternative inJavaLanguageParser.switchBlock().Visit a parse tree produced byJavaLanguageParser.switchBlockStatementGroup().Visit a parse tree produced byJavaLanguageParser.switchExpressionOrStatement().Visit a parse tree produced byJavaLanguageParser.switchLabeledBlock().Visit a parse tree produced byJavaLanguageParser.switchLabeledExpression().Visit a parse tree produced byJavaLanguageParser.switchLabeledRule().Visit a parse tree produced byJavaLanguageParser.switchLabeledThrow().Visit a parse tree produced by theswitchPrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced by theswitchRuleslabeled alternative inJavaLanguageParser.switchBlock().Visit a parse tree produced by theswitchStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thesyncStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by theternaryOplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.textBlockLiteral().Visit a parse tree produced by thethisExplabeled alternative inJavaLanguageParser.expr().Visit a parse tree produced byJavaLanguageParser.throwsList().Visit a parse tree produced by thethrowStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thetokenPrimarylabeled alternative inJavaLanguageParser.primary().Visit a parse tree produced by thetryStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thetryWithResourceStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thetypeArgslabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().Visit a parse tree produced byJavaLanguageParser.typeArguments().Visit a parse tree produced byJavaLanguageParser.typeArgumentsTypeList().Visit a parse tree produced byJavaLanguageParser.typeBound().Visit a parse tree produced byJavaLanguageParser.typeBoundType().Visit a parse tree produced byJavaLanguageParser.typeCastParameters().Visit a parse tree produced byJavaLanguageParser.typeDeclaration().Visit a parse tree produced byJavaLanguageParser.typeList().Visit a parse tree produced byJavaLanguageParser.typeParameter().Visit a parse tree produced byJavaLanguageParser.typeParameters().Visit a parse tree produced byJavaLanguageParser.typePattern().Visit a parse tree produced byJavaLanguageParser.types(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).Visit a parse tree produced byJavaLanguageParser.typeType(boolean).Visit a parse tree produced byJavaLanguageParser.typeUpperBounds().Visit a parse tree produced byJavaLanguageParser.variableAccess().Visit a parse tree produced byJavaLanguageParser.variableInitializer().Visit a parse tree produced byJavaLanguageParser.variableModifier().Visit a parse tree produced by thewhileStatlabeled alternative inJavaLanguageParser.statement().Visit a parse tree produced by thewildCardTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().Visit a parse tree produced by theyieldStatlabeled alternative inJavaLanguageParser.statement().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.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
-
JavaLanguageParserBaseVisitor
public JavaLanguageParserBaseVisitor()
-
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byJavaLanguageParser.compilationUnit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompilationUnitin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byJavaLanguageParser.packageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPackageDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDec
Visit a parse tree produced by theimportDeclabeled alternative inJavaLanguageParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportDecin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleSemiImport
Visit a parse tree produced by thesingleSemiImportlabeled alternative inJavaLanguageParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleSemiImportin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byJavaLanguageParser.typeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypes
Visit a parse tree produced byJavaLanguageParser.types(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byJavaLanguageParser.modifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModifierin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byJavaLanguageParser.variableModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableModifierin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced byJavaLanguageParser.classDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordDeclaration
Visit a parse tree produced byJavaLanguageParser.recordDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponentsList
Visit a parse tree produced byJavaLanguageParser.recordComponentsList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentsListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponents
Visit a parse tree produced byJavaLanguageParser.recordComponents().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponent
Visit a parse tree produced byJavaLanguageParser.recordComponent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastRecordComponent
Visit a parse tree produced byJavaLanguageParser.lastRecordComponent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastRecordComponentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordBody
Visit a parse tree produced byJavaLanguageParser.recordBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordBodyDeclaration
Visit a parse tree produced byJavaLanguageParser.recordBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordBodyDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompactConstructorDeclaration
public T visitCompactConstructorDeclaration(JavaLanguageParser.CompactConstructorDeclarationContext ctx) Visit a parse tree produced byJavaLanguageParser.compactConstructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompactConstructorDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassExtends
Visit a parse tree produced byJavaLanguageParser.classExtends().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassExtendsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementsClause
Visit a parse tree produced byJavaLanguageParser.implementsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementsClausein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byJavaLanguageParser.typeParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byJavaLanguageParser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeUpperBounds
Visit a parse tree produced byJavaLanguageParser.typeUpperBounds().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeUpperBoundsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byJavaLanguageParser.typeBound().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBoundin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBoundType
Visit a parse tree produced byJavaLanguageParser.typeBoundType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBoundTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
Visit a parse tree produced byJavaLanguageParser.enumDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBody
Visit a parse tree produced byJavaLanguageParser.enumBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byJavaLanguageParser.enumConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byJavaLanguageParser.enumConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
Visit a parse tree produced byJavaLanguageParser.enumBodyDeclarations().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyDeclarationsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
Visit a parse tree produced byJavaLanguageParser.interfaceDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceExtends
Visit a parse tree produced byJavaLanguageParser.interfaceExtends().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceExtendsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byJavaLanguageParser.classBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
Visit a parse tree produced byJavaLanguageParser.interfaceBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyClass
Visit a parse tree produced by theemptyClasslabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyClassin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBlock
Visit a parse tree produced by theclassBlocklabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDef
Visit a parse tree produced by theclassDeflabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Visit a parse tree produced byJavaLanguageParser.memberDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced byJavaLanguageParser.methodDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byJavaLanguageParser.methodBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowsList
Visit a parse tree produced byJavaLanguageParser.throwsList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowsListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
Visit a parse tree produced byJavaLanguageParser.constructorDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Visit a parse tree produced byJavaLanguageParser.fieldDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
Visit a parse tree produced byJavaLanguageParser.interfaceBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
Visit a parse tree produced byJavaLanguageParser.interfaceMemberDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMemberDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
Visit a parse tree produced byJavaLanguageParser.interfaceMethodDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMethodDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
Visit a parse tree produced byJavaLanguageParser.variableDeclarators(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>, com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeTypeContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byJavaLanguageParser.variableDeclarator(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>, com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeTypeContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced byJavaLanguageParser.variableDeclaratorId(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.VariableModifierContext>, org.antlr.v4.runtime.ParserRuleContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorIdin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byJavaLanguageParser.variableInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byJavaLanguageParser.arrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceType(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceTypeExtended
public T visitClassOrInterfaceTypeExtended(JavaLanguageParser.ClassOrInterfaceTypeExtendedContext ctx) Visit a parse tree produced byJavaLanguageParser.classOrInterfaceTypeExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypeExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleTypeArgument
Visit a parse tree produced by thesimpleTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleTypeArgumentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildCardTypeArgument
Visit a parse tree produced by thewildCardTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildCardTypeArgumentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
Visit a parse tree produced byJavaLanguageParser.qualifiedNameList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byJavaLanguageParser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byJavaLanguageParser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byJavaLanguageParser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced byJavaLanguageParser.lastFormalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastFormalParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byJavaLanguageParser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameExtended
Visit a parse tree produced byJavaLanguageParser.qualifiedNameExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJavaLanguageParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced byJavaLanguageParser.integerLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
Visit a parse tree produced byJavaLanguageParser.floatLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloatLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTextBlockLiteral
Visit a parse tree produced byJavaLanguageParser.textBlockLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextBlockLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotations
Visit a parse tree produced byJavaLanguageParser.annotations(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byJavaLanguageParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byJavaLanguageParser.elementValuePairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byJavaLanguageParser.elementValuePair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byJavaLanguageParser.elementValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
public T visitElementValueArrayInitializer(JavaLanguageParser.ElementValueArrayInitializerContext ctx) Visit a parse tree produced byJavaLanguageParser.elementValueArrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValueArrayInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
Visit a parse tree produced byJavaLanguageParser.annotationTypeDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
Visit a parse tree produced byJavaLanguageParser.annotationTypeBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
public T visitAnnotationTypeElementDeclaration(JavaLanguageParser.AnnotationTypeElementDeclarationContext ctx) Visit a parse tree produced byJavaLanguageParser.annotationTypeElementDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeElementDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationField
Visit a parse tree produced by theannotationFieldlabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationFieldin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationType
Visit a parse tree produced by theannotationTypelabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
Visit a parse tree produced byJavaLanguageParser.annotationMethodRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>, com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeTypeContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationMethodRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
Visit a parse tree produced byJavaLanguageParser.annotationConstantRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>, com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeTypeContext).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationConstantRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byJavaLanguageParser.defaultValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultValuein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorBlock
Visit a parse tree produced byJavaLanguageParser.constructorBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitCtorCall
Visit a parse tree produced by theexplicitCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExplicitCtorCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryCtorCall
Visit a parse tree produced by theprimaryCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryCtorCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byJavaLanguageParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVar
Visit a parse tree produced by thelocalVarlabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalVarin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStat
Visit a parse tree produced by thestatlabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalType
Visit a parse tree produced by thelocalTypelabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalVariableDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStat
Visit a parse tree produced by theblockStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssertExp
Visit a parse tree produced by theassertExplabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssertExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStat
Visit a parse tree produced by theifStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStat
Visit a parse tree produced by theforStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStat
Visit a parse tree produced by thewhileStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoStat
Visit a parse tree produced by thedoStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStat
Visit a parse tree produced by thetryStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryWithResourceStat
Visit a parse tree produced by thetryWithResourceStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryWithResourceStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYieldStat
Visit a parse tree produced by theyieldStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYieldStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStat
Visit a parse tree produced by theswitchStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSyncStat
Visit a parse tree produced by thesyncStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSyncStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStat
Visit a parse tree produced by thereturnStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowStat
Visit a parse tree produced by thethrowStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStat
Visit a parse tree produced by thebreakStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStat
Visit a parse tree produced by thecontinueStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStat
Visit a parse tree produced by theemptyStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpStat
Visit a parse tree produced by theexpStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelStat
Visit a parse tree produced by thelabelStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchExpressionOrStatement
public T visitSwitchExpressionOrStatement(JavaLanguageParser.SwitchExpressionOrStatementContext ctx) Visit a parse tree produced byJavaLanguageParser.switchExpressionOrStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchExpressionOrStatementin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchRules
Visit a parse tree produced by theswitchRuleslabeled alternative inJavaLanguageParser.switchBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchRulesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlocks
Visit a parse tree produced by theswitchBlockslabeled alternative inJavaLanguageParser.switchBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchBlocksin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledRule
Visit a parse tree produced byJavaLanguageParser.switchLabeledRule().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledRulein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledExpression
Visit a parse tree produced byJavaLanguageParser.switchLabeledExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledBlock
Visit a parse tree produced byJavaLanguageParser.switchLabeledBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledThrow
Visit a parse tree produced byJavaLanguageParser.switchLabeledThrow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledThrowin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElseStat
Visit a parse tree produced byJavaLanguageParser.elseStat().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElseStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byJavaLanguageParser.catchClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchClausein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchParameter
Visit a parse tree produced byJavaLanguageParser.catchParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byJavaLanguageParser.catchType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byJavaLanguageParser.finallyBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinallyBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
Visit a parse tree produced byJavaLanguageParser.resourceSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceSpecificationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byJavaLanguageParser.resources().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byJavaLanguageParser.resource().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceDeclaration
Visit a parse tree produced byJavaLanguageParser.resourceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableAccess
Visit a parse tree produced byJavaLanguageParser.variableAccess().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableAccessin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldAccessNoIdent
Visit a parse tree produced byJavaLanguageParser.fieldAccessNoIdent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldAccessNoIdentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byJavaLanguageParser.switchBlockStatementGroup().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchBlockStatementGroupin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
Visit a parse tree produced by thecaseLabellabeled alternative inJavaLanguageParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseLabelin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultLabel
Visit a parse tree produced by thedefaultLabellabeled alternative inJavaLanguageParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultLabelin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseConstants
Visit a parse tree produced byJavaLanguageParser.caseConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseConstantsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseConstant
Visit a parse tree produced byJavaLanguageParser.caseConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseConstantin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedFor
Visit a parse tree produced by theenhancedForlabeled alternative inJavaLanguageParser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnhancedForin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForFor
Visit a parse tree produced by theforForlabeled alternative inJavaLanguageParser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForForin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byJavaLanguageParser.forInit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForInitin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byJavaLanguageParser.enhancedForControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnhancedForControlin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byJavaLanguageParser.parExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byJavaLanguageParser.expressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJavaLanguageParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRefOp
Visit a parse tree produced by therefOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRefOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperExp
Visit a parse tree produced by thesuperExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceOfExp
Visit a parse tree produced by theinstanceOfExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInstanceOfExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitShift
Visit a parse tree produced by thebitShiftlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitShiftin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewExp
Visit a parse tree produced by thenewExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrefix
Visit a parse tree produced by theprefixlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrefixin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastExp
Visit a parse tree produced by thecastExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexOp
Visit a parse tree produced by theindexOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInvOp
Visit a parse tree produced by theinvOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInvOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitExp
Visit a parse tree produced by theinitExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInitExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleMethodCall
Visit a parse tree produced by thesimpleMethodCalllabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleMethodCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExp
Visit a parse tree produced by thelambdaExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisExp
Visit a parse tree produced by thethisExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExp
Visit a parse tree produced by theprimaryExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfix
Visit a parse tree produced by thepostfixlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostfixin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodRef
Visit a parse tree produced by themethodReflabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodRefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryOp
Visit a parse tree produced by theternaryOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinOp
Visit a parse tree produced by thebinOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced by themethodCalllabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeCastParameters
Visit a parse tree produced byJavaLanguageParser.typeCastParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeCastParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
Visit a parse tree produced byJavaLanguageParser.lambdaExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleLambdaParam
Visit a parse tree produced by thesingleLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalLambdaParam
Visit a parse tree produced by theformalLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParam
Visit a parse tree produced by themultiLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParams
Visit a parse tree produced byJavaLanguageParser.multiLambdaParams().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLambdaParamsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
Visit a parse tree produced byJavaLanguageParser.lambdaBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchPrimary
Visit a parse tree produced by theswitchPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenPrimary
Visit a parse tree produced by theparenPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTokenPrimary
Visit a parse tree produced by thetokenPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTokenPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
Visit a parse tree produced by theliteralPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassRefPrimary
Visit a parse tree produced by theclassRefPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassRefPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitivePrimary
Visit a parse tree produced by theprimitivePrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimitivePrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassType
Visit a parse tree produced byJavaLanguageParser.classType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byJavaLanguageParser.creator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNameObject
Visit a parse tree produced by thecreatedNameObjectlabeled alternative inJavaLanguageParser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNameObjectin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNamePrimitive
Visit a parse tree produced by thecreatedNamePrimitivelabeled alternative inJavaLanguageParser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNamePrimitivein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNameExtended
Visit a parse tree produced byJavaLanguageParser.createdNameExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNameExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
Visit a parse tree produced byJavaLanguageParser.innerCreator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInnerCreatorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
Visit a parse tree produced byJavaLanguageParser.arrayCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayCreatorRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracketsWithExp
Visit a parse tree produced byJavaLanguageParser.bracketsWithExp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBracketsWithExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
Visit a parse tree produced byJavaLanguageParser.classCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassCreatorRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDiamond
Visit a parse tree produced by thediamondlabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDiamondin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgs
Visit a parse tree produced by thetypeArgslabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardDiamond
Visit a parse tree produced by thenonWildcardDiamondlabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardDiamondin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgs
Visit a parse tree produced by thenonWildcardTypeArgslabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsTypeList
Visit a parse tree produced byJavaLanguageParser.typeArgumentsTypeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsTypeListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byJavaLanguageParser.typeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeType
Visit a parse tree produced byJavaLanguageParser.typeType(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceOrPrimitiveType
public T visitClassOrInterfaceOrPrimitiveType(JavaLanguageParser.ClassOrInterfaceOrPrimitiveTypeContext ctx) Visit a parse tree produced byJavaLanguageParser.classOrInterfaceOrPrimitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceOrPrimitiveTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayDeclarator
Visit a parse tree produced byJavaLanguageParser.arrayDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayDeclaratorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byJavaLanguageParser.primitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimitiveTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byJavaLanguageParser.typeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixSimple
Visit a parse tree produced by thesuperSuffixSimplelabeled alternative inJavaLanguageParser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSuffixSimplein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixDot
Visit a parse tree produced by thesuperSuffixDotlabeled alternative inJavaLanguageParser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSuffixDotin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byJavaLanguageParser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPattern
Visit a parse tree produced byJavaLanguageParser.pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGuardedPattern
Visit a parse tree produced byJavaLanguageParser.guardedPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGuardedPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPatternVariableDef
Visit a parse tree produced by thepatternVariableDeflabeled alternative inJavaLanguageParser.primaryPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternVariableDefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenPattern
Visit a parse tree produced by theparenPatternlabeled alternative inJavaLanguageParser.primaryPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypePattern
Visit a parse tree produced byJavaLanguageParser.typePattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypePatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPermittedSubclassesAndInterfaces
public T visitPermittedSubclassesAndInterfaces(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx) Visit a parse tree produced byJavaLanguageParser.permittedSubclassesAndInterfaces().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPermittedSubclassesAndInterfacesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
Visit a parse tree produced byJavaLanguageParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-