Class JavaLanguageParserBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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 theannotationField
labeled 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 theannotationType
labeled 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 theassertExp
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thebinOp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by thebitShift
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced byJavaLanguageParser.block()
.Visit a parse tree produced by theblockStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.bracketsWithExp()
.Visit a parse tree produced by thebreakStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.caseConstant()
.Visit a parse tree produced byJavaLanguageParser.caseConstants()
.Visit a parse tree produced by thecaseLabel
labeled alternative inJavaLanguageParser.switchLabel()
.Visit a parse tree produced by thecastExp
labeled 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 theclassBlock
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.Visit a parse tree produced byJavaLanguageParser.classBody()
.Visit a parse tree produced byJavaLanguageParser.classCreatorRest()
.Visit a parse tree produced by theclassDef
labeled 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 theclassRefPrimary
labeled 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 thecontinueStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.createdNameExtended()
.Visit a parse tree produced by thecreatedNameObject
labeled alternative inJavaLanguageParser.createdName()
.Visit a parse tree produced by thecreatedNamePrimitive
labeled alternative inJavaLanguageParser.createdName()
.Visit a parse tree produced byJavaLanguageParser.creator()
.Visit a parse tree produced by thedefaultLabel
labeled alternative inJavaLanguageParser.switchLabel()
.Visit a parse tree produced byJavaLanguageParser.defaultValue()
.Visit a parse tree produced by thediamond
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.Visit a parse tree produced by thedoStat
labeled 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 theemptyClass
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.Visit a parse tree produced by theemptyStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by theenhancedFor
labeled 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 theexplicitCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.Visit a parse tree produced byJavaLanguageParser.expression()
.Visit a parse tree produced byJavaLanguageParser.expressionList()
.Visit a parse tree produced by theexpStat
labeled 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 theforFor
labeled alternative inJavaLanguageParser.forControl()
.Visit a parse tree produced byJavaLanguageParser.forInit()
.Visit a parse tree produced by theformalLambdaParam
labeled 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 theforStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.guardedPattern()
.Visit a parse tree produced byJavaLanguageParser.id()
.Visit a parse tree produced by theifStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.implementsClause()
.Visit a parse tree produced by theimportDec
labeled alternative inJavaLanguageParser.importDeclaration()
.Visit a parse tree produced by theindexOp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by theinitExp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced byJavaLanguageParser.innerCreator()
.Visit a parse tree produced by theinstanceOfExp
labeled 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 theinvOp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by thelabelStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced byJavaLanguageParser.lambdaBody()
.Visit a parse tree produced by thelambdaExp
labeled 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 theliteralPrimary
labeled alternative inJavaLanguageParser.primary()
.Visit a parse tree produced by thelocalType
labeled alternative inJavaLanguageParser.blockStatement()
.Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration()
.Visit a parse tree produced by thelocalVar
labeled alternative inJavaLanguageParser.blockStatement()
.Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration()
.Visit a parse tree produced byJavaLanguageParser.methodBody()
.Visit a parse tree produced by themethodCall
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by themethodRef
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced byJavaLanguageParser.modifier()
.Visit a parse tree produced by themultiLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.Visit a parse tree produced byJavaLanguageParser.multiLambdaParams()
.Visit a parse tree produced by thenewExp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by thenonWildcardDiamond
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.Visit a parse tree produced by thenonWildcardTypeArgs
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments()
.Visit a parse tree produced byJavaLanguageParser.packageDeclaration()
.Visit a parse tree produced by theparenPattern
labeled alternative inJavaLanguageParser.primaryPattern()
.Visit a parse tree produced by theparenPrimary
labeled alternative inJavaLanguageParser.primary()
.Visit a parse tree produced byJavaLanguageParser.parExpression()
.Visit a parse tree produced byJavaLanguageParser.pattern()
.Visit a parse tree produced by thepatternVariableDef
labeled alternative inJavaLanguageParser.primaryPattern()
.visitPermittedSubclassesAndInterfaces
(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx) Visit a parse tree produced byJavaLanguageParser.permittedSubclassesAndInterfaces()
.Visit a parse tree produced by thepostfix
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by theprefix
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by theprimaryCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.Visit a parse tree produced by theprimaryExp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by theprimitivePrimary
labeled 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 therefOp
labeled 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 thereturnStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thesimpleMethodCall
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by thesimpleTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.Visit a parse tree produced by thesingleLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.Visit a parse tree produced by thesingleSemiImport
labeled alternative inJavaLanguageParser.importDeclaration()
.Visit a parse tree produced by thestat
labeled alternative inJavaLanguageParser.blockStatement()
.Visit a parse tree produced by thesuperExp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced by thesuperSuffixDot
labeled alternative inJavaLanguageParser.superSuffix()
.Visit a parse tree produced by thesuperSuffixSimple
labeled alternative inJavaLanguageParser.superSuffix()
.Visit a parse tree produced by theswitchBlocks
labeled 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 theswitchPrimary
labeled alternative inJavaLanguageParser.primary()
.Visit a parse tree produced by theswitchRules
labeled alternative inJavaLanguageParser.switchBlock()
.Visit a parse tree produced by theswitchStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thesyncStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by theternaryOp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced byJavaLanguageParser.textBlockLiteral()
.Visit a parse tree produced by thethisExp
labeled alternative inJavaLanguageParser.expr()
.Visit a parse tree produced byJavaLanguageParser.throwsList()
.Visit a parse tree produced by thethrowStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thetokenPrimary
labeled alternative inJavaLanguageParser.primary()
.Visit a parse tree produced by thetryStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thetryWithResourceStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thetypeArgs
labeled 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 thewhileStat
labeled alternative inJavaLanguageParser.statement()
.Visit a parse tree produced by thewildCardTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.Visit a parse tree produced by theyieldStat
labeled alternative inJavaLanguageParser.statement()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
visitCompilationUnit
in 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:
visitPackageDeclaration
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDec
Visit a parse tree produced by theimportDec
labeled alternative inJavaLanguageParser.importDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitImportDec
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleSemiImport
Visit a parse tree produced by thesingleSemiImport
labeled alternative inJavaLanguageParser.importDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleSemiImport
in 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:
visitTypeDeclaration
in 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:
visitTypes
in 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:
visitModifier
in 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:
visitVariableModifier
in 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:
visitClassDeclaration
in 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:
visitRecordDeclaration
in 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:
visitRecordComponentsList
in 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:
visitRecordComponents
in 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:
visitRecordComponent
in 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:
visitLastRecordComponent
in 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:
visitRecordBody
in 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:
visitRecordBodyDeclaration
in 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:
visitCompactConstructorDeclaration
in 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:
visitClassExtends
in 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:
visitImplementsClause
in 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:
visitTypeParameters
in 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:
visitTypeParameter
in 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:
visitTypeUpperBounds
in 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:
visitTypeBound
in 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:
visitTypeBoundType
in 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:
visitEnumDeclaration
in 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:
visitEnumBody
in 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:
visitEnumConstants
in 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:
visitEnumConstant
in 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:
visitEnumBodyDeclarations
in 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:
visitInterfaceDeclaration
in 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:
visitInterfaceExtends
in 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:
visitClassBody
in 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:
visitInterfaceBody
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyClass
Visit a parse tree produced by theemptyClass
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyClass
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBlock
Visit a parse tree produced by theclassBlock
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassBlock
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDef
Visit a parse tree produced by theclassDef
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassDef
in 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:
visitMemberDeclaration
in 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:
visitMethodDeclaration
in 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:
visitMethodBody
in 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:
visitThrowsList
in 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:
visitConstructorDeclaration
in 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:
visitFieldDeclaration
in 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:
visitInterfaceBodyDeclaration
in 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:
visitInterfaceMemberDeclaration
in 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:
visitInterfaceMethodDeclaration
in 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:
visitVariableDeclarators
in 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:
visitVariableDeclarator
in 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:
visitVariableDeclaratorId
in 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:
visitVariableInitializer
in 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:
visitArrayInitializer
in 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:
visitClassOrInterfaceType
in 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:
visitClassOrInterfaceTypeExtended
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleTypeArgument
Visit a parse tree produced by thesimpleTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleTypeArgument
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWildCardTypeArgument
Visit a parse tree produced by thewildCardTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWildCardTypeArgument
in 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:
visitQualifiedNameList
in 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:
visitFormalParameters
in 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:
visitFormalParameterList
in 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:
visitFormalParameter
in 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:
visitLastFormalParameter
in 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:
visitQualifiedName
in 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:
visitQualifiedNameExtended
in 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:
visitLiteral
in 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:
visitIntegerLiteral
in 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:
visitFloatLiteral
in 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:
visitTextBlockLiteral
in 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:
visitAnnotations
in 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:
visitAnnotation
in 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:
visitElementValuePairs
in 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:
visitElementValuePair
in 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:
visitElementValue
in 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:
visitElementValueArrayInitializer
in 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:
visitAnnotationTypeDeclaration
in 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:
visitAnnotationTypeBody
in 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:
visitAnnotationTypeElementDeclaration
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationField
Visit a parse tree produced by theannotationField
labeled 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:
visitAnnotationField
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationType
Visit a parse tree produced by theannotationType
labeled 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:
visitAnnotationType
in 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:
visitAnnotationMethodRest
in 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:
visitAnnotationConstantRest
in 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:
visitDefaultValue
in 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:
visitConstructorBlock
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplicitCtorCall
Visit a parse tree produced by theexplicitCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExplicitCtorCall
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryCtorCall
Visit a parse tree produced by theprimaryCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimaryCtorCall
in 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:
visitBlock
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVar
Visit a parse tree produced by thelocalVar
labeled alternative inJavaLanguageParser.blockStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalVar
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStat
Visit a parse tree produced by thestat
labeled alternative inJavaLanguageParser.blockStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalType
Visit a parse tree produced by thelocalType
labeled alternative inJavaLanguageParser.blockStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalType
in 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:
visitLocalVariableDeclaration
in 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:
visitLocalTypeDeclaration
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStat
Visit a parse tree produced by theblockStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlockStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertExp
Visit a parse tree produced by theassertExp
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssertExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStat
Visit a parse tree produced by theifStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIfStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStat
Visit a parse tree produced by theforStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStat
Visit a parse tree produced by thewhileStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhileStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoStat
Visit a parse tree produced by thedoStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryStat
Visit a parse tree produced by thetryStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTryStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryWithResourceStat
Visit a parse tree produced by thetryWithResourceStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTryWithResourceStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYieldStat
Visit a parse tree produced by theyieldStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitYieldStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchStat
Visit a parse tree produced by theswitchStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSyncStat
Visit a parse tree produced by thesyncStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSyncStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStat
Visit a parse tree produced by thereturnStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReturnStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowStat
Visit a parse tree produced by thethrowStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThrowStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStat
Visit a parse tree produced by thebreakStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBreakStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStat
Visit a parse tree produced by thecontinueStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitContinueStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyStat
Visit a parse tree produced by theemptyStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpStat
Visit a parse tree produced by theexpStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpStat
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLabelStat
Visit a parse tree produced by thelabelStat
labeled alternative inJavaLanguageParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLabelStat
in 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:
visitSwitchExpressionOrStatement
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchRules
Visit a parse tree produced by theswitchRules
labeled alternative inJavaLanguageParser.switchBlock()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchRules
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlocks
Visit a parse tree produced by theswitchBlocks
labeled alternative inJavaLanguageParser.switchBlock()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchBlocks
in 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:
visitSwitchLabeledRule
in 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:
visitSwitchLabeledExpression
in 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:
visitSwitchLabeledBlock
in 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:
visitSwitchLabeledThrow
in 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:
visitElseStat
in 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:
visitCatchClause
in 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:
visitCatchParameter
in 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:
visitCatchType
in 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:
visitFinallyBlock
in 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:
visitResourceSpecification
in 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:
visitResources
in 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:
visitResource
in 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:
visitResourceDeclaration
in 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:
visitVariableAccess
in 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:
visitFieldAccessNoIdent
in 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:
visitSwitchBlockStatementGroup
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
Visit a parse tree produced by thecaseLabel
labeled alternative inJavaLanguageParser.switchLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCaseLabel
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefaultLabel
Visit a parse tree produced by thedefaultLabel
labeled alternative inJavaLanguageParser.switchLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefaultLabel
in 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:
visitCaseConstants
in 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:
visitCaseConstant
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedFor
Visit a parse tree produced by theenhancedFor
labeled alternative inJavaLanguageParser.forControl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnhancedFor
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForFor
Visit a parse tree produced by theforFor
labeled alternative inJavaLanguageParser.forControl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForFor
in 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:
visitForInit
in 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:
visitEnhancedForControl
in 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:
visitParExpression
in 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:
visitExpressionList
in 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:
visitExpression
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRefOp
Visit a parse tree produced by therefOp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRefOp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperExp
Visit a parse tree produced by thesuperExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSuperExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstanceOfExp
Visit a parse tree produced by theinstanceOfExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstanceOfExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBitShift
Visit a parse tree produced by thebitShift
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBitShift
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNewExp
Visit a parse tree produced by thenewExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNewExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix
Visit a parse tree produced by theprefix
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrefix
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExp
Visit a parse tree produced by thecastExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCastExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexOp
Visit a parse tree produced by theindexOp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexOp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInvOp
Visit a parse tree produced by theinvOp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInvOp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInitExp
Visit a parse tree produced by theinitExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInitExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleMethodCall
Visit a parse tree produced by thesimpleMethodCall
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleMethodCall
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaExp
Visit a parse tree produced by thelambdaExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLambdaExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisExp
Visit a parse tree produced by thethisExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThisExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryExp
Visit a parse tree produced by theprimaryExp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimaryExp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfix
Visit a parse tree produced by thepostfix
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPostfix
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodRef
Visit a parse tree produced by themethodRef
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodRef
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTernaryOp
Visit a parse tree produced by theternaryOp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTernaryOp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinOp
Visit a parse tree produced by thebinOp
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinOp
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced by themethodCall
labeled alternative inJavaLanguageParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodCall
in 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:
visitTypeCastParameters
in 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:
visitLambdaExpression
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleLambdaParam
Visit a parse tree produced by thesingleLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingleLambdaParam
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalLambdaParam
Visit a parse tree produced by theformalLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalLambdaParam
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParam
Visit a parse tree produced by themultiLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiLambdaParam
in 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:
visitMultiLambdaParams
in 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:
visitLambdaBody
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchPrimary
Visit a parse tree produced by theswitchPrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchPrimary
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPrimary
Visit a parse tree produced by theparenPrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenPrimary
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTokenPrimary
Visit a parse tree produced by thetokenPrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTokenPrimary
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
Visit a parse tree produced by theliteralPrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralPrimary
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassRefPrimary
Visit a parse tree produced by theclassRefPrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassRefPrimary
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitivePrimary
Visit a parse tree produced by theprimitivePrimary
labeled alternative inJavaLanguageParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimitivePrimary
in 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:
visitClassType
in 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:
visitCreator
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNameObject
Visit a parse tree produced by thecreatedNameObject
labeled alternative inJavaLanguageParser.createdName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreatedNameObject
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNamePrimitive
Visit a parse tree produced by thecreatedNamePrimitive
labeled alternative inJavaLanguageParser.createdName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreatedNamePrimitive
in 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:
visitCreatedNameExtended
in 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:
visitInnerCreator
in 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:
visitArrayCreatorRest
in 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:
visitBracketsWithExp
in 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:
visitClassCreatorRest
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDiamond
Visit a parse tree produced by thediamond
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDiamond
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgs
Visit a parse tree produced by thetypeArgs
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeArgs
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardDiamond
Visit a parse tree produced by thenonWildcardDiamond
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNonWildcardDiamond
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgs
Visit a parse tree produced by thenonWildcardTypeArgs
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNonWildcardTypeArgs
in 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:
visitNonWildcardTypeArguments
in 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:
visitTypeArgumentsTypeList
in 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:
visitTypeList
in 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:
visitTypeType
in 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:
visitClassOrInterfaceOrPrimitiveType
in 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:
visitArrayDeclarator
in 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:
visitPrimitiveType
in 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:
visitTypeArguments
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixSimple
Visit a parse tree produced by thesuperSuffixSimple
labeled alternative inJavaLanguageParser.superSuffix()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSuperSuffixSimple
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixDot
Visit a parse tree produced by thesuperSuffixDot
labeled alternative inJavaLanguageParser.superSuffix()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSuperSuffixDot
in 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:
visitArguments
in 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:
visitPattern
in 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:
visitGuardedPattern
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPatternVariableDef
Visit a parse tree produced by thepatternVariableDef
labeled alternative inJavaLanguageParser.primaryPattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPatternVariableDef
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPattern
Visit a parse tree produced by theparenPattern
labeled alternative inJavaLanguageParser.primaryPattern()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenPattern
in 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:
visitTypePattern
in 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:
visitPermittedSubclassesAndInterfaces
in 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:
visitId
in interfaceJavaLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-