Interface JavaLanguageParserVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JavaAstVisitor
,JavaLanguageParserBaseVisitor
public interface JavaLanguageParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
JavaLanguageParser
.-
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 interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompilationUnit
Visit a parse tree produced byJavaLanguageParser.compilationUnit()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byJavaLanguageParser.packageDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDec
Visit a parse tree produced by theimportDec
labeled alternative inJavaLanguageParser.importDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleSemiImport
Visit a parse tree produced by thesingleSemiImport
labeled alternative inJavaLanguageParser.importDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byJavaLanguageParser.typeDeclaration()
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byJavaLanguageParser.modifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byJavaLanguageParser.variableModifier()
.- 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>)
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordComponentsList
Visit a parse tree produced byJavaLanguageParser.recordComponentsList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordComponents
Visit a parse tree produced byJavaLanguageParser.recordComponents()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordComponent
Visit a parse tree produced byJavaLanguageParser.recordComponent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLastRecordComponent
Visit a parse tree produced byJavaLanguageParser.lastRecordComponent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordBody
Visit a parse tree produced byJavaLanguageParser.recordBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordBodyDeclaration
Visit a parse tree produced byJavaLanguageParser.recordBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCompactConstructorDeclaration
Visit a parse tree produced byJavaLanguageParser.compactConstructorDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassExtends
Visit a parse tree produced byJavaLanguageParser.classExtends()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImplementsClause
Visit a parse tree produced byJavaLanguageParser.implementsClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byJavaLanguageParser.typeParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byJavaLanguageParser.typeParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeUpperBounds
Visit a parse tree produced byJavaLanguageParser.typeUpperBounds()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byJavaLanguageParser.typeBound()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBoundType
Visit a parse tree produced byJavaLanguageParser.typeBoundType()
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumBody
Visit a parse tree produced byJavaLanguageParser.enumBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byJavaLanguageParser.enumConstants()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byJavaLanguageParser.enumConstant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
Visit a parse tree produced byJavaLanguageParser.enumBodyDeclarations()
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceExtends
Visit a parse tree produced byJavaLanguageParser.interfaceExtends()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byJavaLanguageParser.classBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
Visit a parse tree produced byJavaLanguageParser.interfaceBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyClass
Visit a parse tree produced by theemptyClass
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBlock
Visit a parse tree produced by theclassBlock
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDef
Visit a parse tree produced by theclassDef
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- 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>)
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byJavaLanguageParser.methodBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowsList
Visit a parse tree produced byJavaLanguageParser.throwsList()
.- 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>)
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
Visit a parse tree produced byJavaLanguageParser.interfaceBodyDeclaration()
.- 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>)
.- 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>)
.- 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)
.- 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)
.- 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)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byJavaLanguageParser.variableInitializer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byJavaLanguageParser.arrayInitializer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceType(boolean)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceTypeExtended
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceTypeExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleTypeArgument
Visit a parse tree produced by thesimpleTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWildCardTypeArgument
Visit a parse tree produced by thewildCardTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
Visit a parse tree produced byJavaLanguageParser.qualifiedNameList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byJavaLanguageParser.formalParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byJavaLanguageParser.formalParameterList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byJavaLanguageParser.formalParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
Visit a parse tree produced byJavaLanguageParser.lastFormalParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byJavaLanguageParser.qualifiedName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameExtended
Visit a parse tree produced byJavaLanguageParser.qualifiedNameExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byJavaLanguageParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced byJavaLanguageParser.integerLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
Visit a parse tree produced byJavaLanguageParser.floatLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTextBlockLiteral
Visit a parse tree produced byJavaLanguageParser.textBlockLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotations
Visit a parse tree produced byJavaLanguageParser.annotations(boolean)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byJavaLanguageParser.annotation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byJavaLanguageParser.elementValuePairs()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byJavaLanguageParser.elementValuePair()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byJavaLanguageParser.elementValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
Visit a parse tree produced byJavaLanguageParser.elementValueArrayInitializer()
.- 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>)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
Visit a parse tree produced byJavaLanguageParser.annotationTypeBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
T visitAnnotationTypeElementDeclaration(JavaLanguageParser.AnnotationTypeElementDeclarationContext ctx) Visit a parse tree produced byJavaLanguageParser.annotationTypeElementDeclaration()
.- 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>)
.- 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>)
.- 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)
.- 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)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byJavaLanguageParser.defaultValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstructorBlock
Visit a parse tree produced byJavaLanguageParser.constructorBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplicitCtorCall
Visit a parse tree produced by theexplicitCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryCtorCall
Visit a parse tree produced by theprimaryCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byJavaLanguageParser.block()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVar
Visit a parse tree produced by thelocalVar
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStat
Visit a parse tree produced by thestat
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalType
Visit a parse tree produced by thelocalType
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStat
Visit a parse tree produced by theblockStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertExp
Visit a parse tree produced by theassertExp
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStat
Visit a parse tree produced by theifStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStat
Visit a parse tree produced by theforStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStat
Visit a parse tree produced by thewhileStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoStat
Visit a parse tree produced by thedoStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryStat
Visit a parse tree produced by thetryStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryWithResourceStat
Visit a parse tree produced by thetryWithResourceStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYieldStat
Visit a parse tree produced by theyieldStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchStat
Visit a parse tree produced by theswitchStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSyncStat
Visit a parse tree produced by thesyncStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStat
Visit a parse tree produced by thereturnStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowStat
Visit a parse tree produced by thethrowStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStat
Visit a parse tree produced by thebreakStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStat
Visit a parse tree produced by thecontinueStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyStat
Visit a parse tree produced by theemptyStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpStat
Visit a parse tree produced by theexpStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLabelStat
Visit a parse tree produced by thelabelStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchExpressionOrStatement
Visit a parse tree produced byJavaLanguageParser.switchExpressionOrStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchRules
Visit a parse tree produced by theswitchRules
labeled alternative inJavaLanguageParser.switchBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlocks
Visit a parse tree produced by theswitchBlocks
labeled alternative inJavaLanguageParser.switchBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledRule
Visit a parse tree produced byJavaLanguageParser.switchLabeledRule()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledExpression
Visit a parse tree produced byJavaLanguageParser.switchLabeledExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledBlock
Visit a parse tree produced byJavaLanguageParser.switchLabeledBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledThrow
Visit a parse tree produced byJavaLanguageParser.switchLabeledThrow()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElseStat
Visit a parse tree produced byJavaLanguageParser.elseStat()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byJavaLanguageParser.catchClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchParameter
Visit a parse tree produced byJavaLanguageParser.catchParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byJavaLanguageParser.catchType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byJavaLanguageParser.finallyBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
Visit a parse tree produced byJavaLanguageParser.resourceSpecification()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byJavaLanguageParser.resources()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byJavaLanguageParser.resource()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceDeclaration
Visit a parse tree produced byJavaLanguageParser.resourceDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableAccess
Visit a parse tree produced byJavaLanguageParser.variableAccess()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldAccessNoIdent
Visit a parse tree produced byJavaLanguageParser.fieldAccessNoIdent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byJavaLanguageParser.switchBlockStatementGroup()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
Visit a parse tree produced by thecaseLabel
labeled alternative inJavaLanguageParser.switchLabel()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefaultLabel
Visit a parse tree produced by thedefaultLabel
labeled alternative inJavaLanguageParser.switchLabel()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseConstants
Visit a parse tree produced byJavaLanguageParser.caseConstants()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseConstant
Visit a parse tree produced byJavaLanguageParser.caseConstant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedFor
Visit a parse tree produced by theenhancedFor
labeled alternative inJavaLanguageParser.forControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForFor
Visit a parse tree produced by theforFor
labeled alternative inJavaLanguageParser.forControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byJavaLanguageParser.forInit()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byJavaLanguageParser.enhancedForControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byJavaLanguageParser.parExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byJavaLanguageParser.expressionList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byJavaLanguageParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRefOp
Visit a parse tree produced by therefOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperExp
Visit a parse tree produced by thesuperExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstanceOfExp
Visit a parse tree produced by theinstanceOfExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBitShift
Visit a parse tree produced by thebitShift
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNewExp
Visit a parse tree produced by thenewExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix
Visit a parse tree produced by theprefix
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExp
Visit a parse tree produced by thecastExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexOp
Visit a parse tree produced by theindexOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInvOp
Visit a parse tree produced by theinvOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInitExp
Visit a parse tree produced by theinitExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleMethodCall
Visit a parse tree produced by thesimpleMethodCall
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaExp
Visit a parse tree produced by thelambdaExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisExp
Visit a parse tree produced by thethisExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryExp
Visit a parse tree produced by theprimaryExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfix
Visit a parse tree produced by thepostfix
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodRef
Visit a parse tree produced by themethodRef
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTernaryOp
Visit a parse tree produced by theternaryOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinOp
Visit a parse tree produced by thebinOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced by themethodCall
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeCastParameters
Visit a parse tree produced byJavaLanguageParser.typeCastParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
Visit a parse tree produced byJavaLanguageParser.lambdaExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleLambdaParam
Visit a parse tree produced by thesingleLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalLambdaParam
Visit a parse tree produced by theformalLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParam
Visit a parse tree produced by themultiLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParams
Visit a parse tree produced byJavaLanguageParser.multiLambdaParams()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
Visit a parse tree produced byJavaLanguageParser.lambdaBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchPrimary
Visit a parse tree produced by theswitchPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPrimary
Visit a parse tree produced by theparenPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTokenPrimary
Visit a parse tree produced by thetokenPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
Visit a parse tree produced by theliteralPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassRefPrimary
Visit a parse tree produced by theclassRefPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitivePrimary
Visit a parse tree produced by theprimitivePrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassType
Visit a parse tree produced byJavaLanguageParser.classType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byJavaLanguageParser.creator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNameObject
Visit a parse tree produced by thecreatedNameObject
labeled alternative inJavaLanguageParser.createdName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNamePrimitive
Visit a parse tree produced by thecreatedNamePrimitive
labeled alternative inJavaLanguageParser.createdName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNameExtended
Visit a parse tree produced byJavaLanguageParser.createdNameExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
Visit a parse tree produced byJavaLanguageParser.innerCreator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
Visit a parse tree produced byJavaLanguageParser.arrayCreatorRest()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBracketsWithExp
Visit a parse tree produced byJavaLanguageParser.bracketsWithExp()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
Visit a parse tree produced byJavaLanguageParser.classCreatorRest()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDiamond
Visit a parse tree produced by thediamond
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgs
Visit a parse tree produced by thetypeArgs
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardDiamond
Visit a parse tree produced by thenonWildcardDiamond
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgs
Visit a parse tree produced by thenonWildcardTypeArgs
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsTypeList
Visit a parse tree produced byJavaLanguageParser.typeArgumentsTypeList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byJavaLanguageParser.typeList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeType
Visit a parse tree produced byJavaLanguageParser.typeType(boolean)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceOrPrimitiveType
T visitClassOrInterfaceOrPrimitiveType(JavaLanguageParser.ClassOrInterfaceOrPrimitiveTypeContext ctx) Visit a parse tree produced byJavaLanguageParser.classOrInterfaceOrPrimitiveType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayDeclarator
Visit a parse tree produced byJavaLanguageParser.arrayDeclarator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byJavaLanguageParser.primitiveType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byJavaLanguageParser.typeArguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixSimple
Visit a parse tree produced by thesuperSuffixSimple
labeled alternative inJavaLanguageParser.superSuffix()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixDot
Visit a parse tree produced by thesuperSuffixDot
labeled alternative inJavaLanguageParser.superSuffix()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byJavaLanguageParser.arguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPattern
Visit a parse tree produced byJavaLanguageParser.pattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGuardedPattern
Visit a parse tree produced byJavaLanguageParser.guardedPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPatternVariableDef
Visit a parse tree produced by thepatternVariableDef
labeled alternative inJavaLanguageParser.primaryPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPattern
Visit a parse tree produced by theparenPattern
labeled alternative inJavaLanguageParser.primaryPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypePattern
Visit a parse tree produced byJavaLanguageParser.typePattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPermittedSubclassesAndInterfaces
T visitPermittedSubclassesAndInterfaces(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx) Visit a parse tree produced byJavaLanguageParser.permittedSubclassesAndInterfaces()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitId
Visit a parse tree produced byJavaLanguageParser.id()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-