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 byJavaLanguageParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitCompilationUnit
T visitCompilationUnit(JavaLanguageParser.CompilationUnitContext ctx)
Visit a parse tree produced byJavaLanguageParser.compilationUnit()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
T visitPackageDeclaration(JavaLanguageParser.PackageDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.packageDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDec
T visitImportDec(JavaLanguageParser.ImportDecContext ctx)
Visit a parse tree produced by theimportDec
labeled alternative inJavaLanguageParser.importDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleSemiImport
T visitSingleSemiImport(JavaLanguageParser.SingleSemiImportContext ctx)
Visit a parse tree produced by thesingleSemiImport
labeled alternative inJavaLanguageParser.importDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
T visitTypeDeclaration(JavaLanguageParser.TypeDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypes
T visitTypes(JavaLanguageParser.TypesContext ctx)
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
T visitModifier(JavaLanguageParser.ModifierContext ctx)
Visit a parse tree produced byJavaLanguageParser.modifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
T visitVariableModifier(JavaLanguageParser.VariableModifierContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableModifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
T visitClassDeclaration(JavaLanguageParser.ClassDeclarationContext ctx)
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
T visitRecordDeclaration(JavaLanguageParser.RecordDeclarationContext ctx)
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
T visitRecordComponentsList(JavaLanguageParser.RecordComponentsListContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponentsList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordComponents
T visitRecordComponents(JavaLanguageParser.RecordComponentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponents()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordComponent
T visitRecordComponent(JavaLanguageParser.RecordComponentContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLastRecordComponent
T visitLastRecordComponent(JavaLanguageParser.LastRecordComponentContext ctx)
Visit a parse tree produced byJavaLanguageParser.lastRecordComponent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordBody
T visitRecordBody(JavaLanguageParser.RecordBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRecordBodyDeclaration
T visitRecordBodyDeclaration(JavaLanguageParser.RecordBodyDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCompactConstructorDeclaration
T visitCompactConstructorDeclaration(JavaLanguageParser.CompactConstructorDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.compactConstructorDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassExtends
T visitClassExtends(JavaLanguageParser.ClassExtendsContext ctx)
Visit a parse tree produced byJavaLanguageParser.classExtends()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImplementsClause
T visitImplementsClause(JavaLanguageParser.ImplementsClauseContext ctx)
Visit a parse tree produced byJavaLanguageParser.implementsClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
T visitTypeParameters(JavaLanguageParser.TypeParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
T visitTypeParameter(JavaLanguageParser.TypeParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeUpperBounds
T visitTypeUpperBounds(JavaLanguageParser.TypeUpperBoundsContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeUpperBounds()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBound
T visitTypeBound(JavaLanguageParser.TypeBoundContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeBound()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBoundType
T visitTypeBoundType(JavaLanguageParser.TypeBoundTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeBoundType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
T visitEnumDeclaration(JavaLanguageParser.EnumDeclarationContext ctx)
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
T visitEnumBody(JavaLanguageParser.EnumBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
T visitEnumConstants(JavaLanguageParser.EnumConstantsContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumConstants()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
T visitEnumConstant(JavaLanguageParser.EnumConstantContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumConstant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
T visitEnumBodyDeclarations(JavaLanguageParser.EnumBodyDeclarationsContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumBodyDeclarations()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
T visitInterfaceDeclaration(JavaLanguageParser.InterfaceDeclarationContext ctx)
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
T visitInterfaceExtends(JavaLanguageParser.InterfaceExtendsContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceExtends()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBody
T visitClassBody(JavaLanguageParser.ClassBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.classBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
T visitInterfaceBody(JavaLanguageParser.InterfaceBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyClass
T visitEmptyClass(JavaLanguageParser.EmptyClassContext ctx)
Visit a parse tree produced by theemptyClass
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBlock
T visitClassBlock(JavaLanguageParser.ClassBlockContext ctx)
Visit a parse tree produced by theclassBlock
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDef
T visitClassDef(JavaLanguageParser.ClassDefContext ctx)
Visit a parse tree produced by theclassDef
labeled alternative inJavaLanguageParser.classBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
T visitMemberDeclaration(JavaLanguageParser.MemberDeclarationContext ctx)
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
T visitMethodDeclaration(JavaLanguageParser.MethodDeclarationContext ctx)
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
T visitMethodBody(JavaLanguageParser.MethodBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.methodBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowsList
T visitThrowsList(JavaLanguageParser.ThrowsListContext ctx)
Visit a parse tree produced byJavaLanguageParser.throwsList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
T visitConstructorDeclaration(JavaLanguageParser.ConstructorDeclarationContext ctx)
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
T visitFieldDeclaration(JavaLanguageParser.FieldDeclarationContext ctx)
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
T visitInterfaceBodyDeclaration(JavaLanguageParser.InterfaceBodyDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceBodyDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
T visitInterfaceMemberDeclaration(JavaLanguageParser.InterfaceMemberDeclarationContext ctx)
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
T visitInterfaceMethodDeclaration(JavaLanguageParser.InterfaceMethodDeclarationContext ctx)
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
T visitVariableDeclarators(JavaLanguageParser.VariableDeclaratorsContext ctx)
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
T visitVariableDeclarator(JavaLanguageParser.VariableDeclaratorContext ctx)
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
T visitVariableDeclaratorId(JavaLanguageParser.VariableDeclaratorIdContext ctx)
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
T visitVariableInitializer(JavaLanguageParser.VariableInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableInitializer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
T visitArrayInitializer(JavaLanguageParser.ArrayInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayInitializer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
T visitClassOrInterfaceType(JavaLanguageParser.ClassOrInterfaceTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceType(boolean)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceTypeExtended
T visitClassOrInterfaceTypeExtended(JavaLanguageParser.ClassOrInterfaceTypeExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceTypeExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleTypeArgument
T visitSimpleTypeArgument(JavaLanguageParser.SimpleTypeArgumentContext ctx)
Visit a parse tree produced by thesimpleTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWildCardTypeArgument
T visitWildCardTypeArgument(JavaLanguageParser.WildCardTypeArgumentContext ctx)
Visit a parse tree produced by thewildCardTypeArgument
labeled alternative inJavaLanguageParser.typeArgument()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
T visitQualifiedNameList(JavaLanguageParser.QualifiedNameListContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedNameList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
T visitFormalParameters(JavaLanguageParser.FormalParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
T visitFormalParameterList(JavaLanguageParser.FormalParameterListContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameterList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
T visitFormalParameter(JavaLanguageParser.FormalParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
T visitLastFormalParameter(JavaLanguageParser.LastFormalParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.lastFormalParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
T visitQualifiedName(JavaLanguageParser.QualifiedNameContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameExtended
T visitQualifiedNameExtended(JavaLanguageParser.QualifiedNameExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedNameExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteral
T visitLiteral(JavaLanguageParser.LiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
T visitIntegerLiteral(JavaLanguageParser.IntegerLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.integerLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
T visitFloatLiteral(JavaLanguageParser.FloatLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.floatLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTextBlockLiteral
T visitTextBlockLiteral(JavaLanguageParser.TextBlockLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.textBlockLiteral()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotations
T visitAnnotations(JavaLanguageParser.AnnotationsContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotations(boolean)
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotation
T visitAnnotation(JavaLanguageParser.AnnotationContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
T visitElementValuePairs(JavaLanguageParser.ElementValuePairsContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValuePairs()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
T visitElementValuePair(JavaLanguageParser.ElementValuePairContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValuePair()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValue
T visitElementValue(JavaLanguageParser.ElementValueContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
T visitElementValueArrayInitializer(JavaLanguageParser.ElementValueArrayInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValueArrayInitializer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
T visitAnnotationTypeDeclaration(JavaLanguageParser.AnnotationTypeDeclarationContext ctx)
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
T visitAnnotationTypeBody(JavaLanguageParser.AnnotationTypeBodyContext ctx)
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
T visitAnnotationField(JavaLanguageParser.AnnotationFieldContext ctx)
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
T visitAnnotationType(JavaLanguageParser.AnnotationTypeContext ctx)
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
T visitAnnotationMethodRest(JavaLanguageParser.AnnotationMethodRestContext ctx)
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
T visitAnnotationConstantRest(JavaLanguageParser.AnnotationConstantRestContext ctx)
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
T visitDefaultValue(JavaLanguageParser.DefaultValueContext ctx)
Visit a parse tree produced byJavaLanguageParser.defaultValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstructorBlock
T visitConstructorBlock(JavaLanguageParser.ConstructorBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.constructorBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExplicitCtorCall
T visitExplicitCtorCall(JavaLanguageParser.ExplicitCtorCallContext ctx)
Visit a parse tree produced by theexplicitCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryCtorCall
T visitPrimaryCtorCall(JavaLanguageParser.PrimaryCtorCallContext ctx)
Visit a parse tree produced by theprimaryCtorCall
labeled alternative inJavaLanguageParser.explicitConstructorInvocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlock
T visitBlock(JavaLanguageParser.BlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.block()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVar
T visitLocalVar(JavaLanguageParser.LocalVarContext ctx)
Visit a parse tree produced by thelocalVar
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStat
T visitStat(JavaLanguageParser.StatContext ctx)
Visit a parse tree produced by thestat
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalType
T visitLocalType(JavaLanguageParser.LocalTypeContext ctx)
Visit a parse tree produced by thelocalType
labeled alternative inJavaLanguageParser.blockStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
T visitLocalVariableDeclaration(JavaLanguageParser.LocalVariableDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
T visitLocalTypeDeclaration(JavaLanguageParser.LocalTypeDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStat
T visitBlockStat(JavaLanguageParser.BlockStatContext ctx)
Visit a parse tree produced by theblockStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertExp
T visitAssertExp(JavaLanguageParser.AssertExpContext ctx)
Visit a parse tree produced by theassertExp
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStat
T visitIfStat(JavaLanguageParser.IfStatContext ctx)
Visit a parse tree produced by theifStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStat
T visitForStat(JavaLanguageParser.ForStatContext ctx)
Visit a parse tree produced by theforStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStat
T visitWhileStat(JavaLanguageParser.WhileStatContext ctx)
Visit a parse tree produced by thewhileStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoStat
T visitDoStat(JavaLanguageParser.DoStatContext ctx)
Visit a parse tree produced by thedoStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryStat
T visitTryStat(JavaLanguageParser.TryStatContext ctx)
Visit a parse tree produced by thetryStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryWithResourceStat
T visitTryWithResourceStat(JavaLanguageParser.TryWithResourceStatContext ctx)
Visit a parse tree produced by thetryWithResourceStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYieldStat
T visitYieldStat(JavaLanguageParser.YieldStatContext ctx)
Visit a parse tree produced by theyieldStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchStat
T visitSwitchStat(JavaLanguageParser.SwitchStatContext ctx)
Visit a parse tree produced by theswitchStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSyncStat
T visitSyncStat(JavaLanguageParser.SyncStatContext ctx)
Visit a parse tree produced by thesyncStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStat
T visitReturnStat(JavaLanguageParser.ReturnStatContext ctx)
Visit a parse tree produced by thereturnStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowStat
T visitThrowStat(JavaLanguageParser.ThrowStatContext ctx)
Visit a parse tree produced by thethrowStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStat
T visitBreakStat(JavaLanguageParser.BreakStatContext ctx)
Visit a parse tree produced by thebreakStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStat
T visitContinueStat(JavaLanguageParser.ContinueStatContext ctx)
Visit a parse tree produced by thecontinueStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyStat
T visitEmptyStat(JavaLanguageParser.EmptyStatContext ctx)
Visit a parse tree produced by theemptyStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpStat
T visitExpStat(JavaLanguageParser.ExpStatContext ctx)
Visit a parse tree produced by theexpStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLabelStat
T visitLabelStat(JavaLanguageParser.LabelStatContext ctx)
Visit a parse tree produced by thelabelStat
labeled alternative inJavaLanguageParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchExpressionOrStatement
T visitSwitchExpressionOrStatement(JavaLanguageParser.SwitchExpressionOrStatementContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchExpressionOrStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchRules
T visitSwitchRules(JavaLanguageParser.SwitchRulesContext ctx)
Visit a parse tree produced by theswitchRules
labeled alternative inJavaLanguageParser.switchBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlocks
T visitSwitchBlocks(JavaLanguageParser.SwitchBlocksContext ctx)
Visit a parse tree produced by theswitchBlocks
labeled alternative inJavaLanguageParser.switchBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledRule
T visitSwitchLabeledRule(JavaLanguageParser.SwitchLabeledRuleContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledRule()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledExpression
T visitSwitchLabeledExpression(JavaLanguageParser.SwitchLabeledExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledBlock
T visitSwitchLabeledBlock(JavaLanguageParser.SwitchLabeledBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledThrow
T visitSwitchLabeledThrow(JavaLanguageParser.SwitchLabeledThrowContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledThrow()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElseStat
T visitElseStat(JavaLanguageParser.ElseStatContext ctx)
Visit a parse tree produced byJavaLanguageParser.elseStat()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchClause
T visitCatchClause(JavaLanguageParser.CatchClauseContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchParameter
T visitCatchParameter(JavaLanguageParser.CatchParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchType
T visitCatchType(JavaLanguageParser.CatchTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
T visitFinallyBlock(JavaLanguageParser.FinallyBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.finallyBlock()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
T visitResourceSpecification(JavaLanguageParser.ResourceSpecificationContext ctx)
Visit a parse tree produced byJavaLanguageParser.resourceSpecification()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResources
T visitResources(JavaLanguageParser.ResourcesContext ctx)
Visit a parse tree produced byJavaLanguageParser.resources()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResource
T visitResource(JavaLanguageParser.ResourceContext ctx)
Visit a parse tree produced byJavaLanguageParser.resource()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceDeclaration
T visitResourceDeclaration(JavaLanguageParser.ResourceDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.resourceDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableAccess
T visitVariableAccess(JavaLanguageParser.VariableAccessContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableAccess()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldAccessNoIdent
T visitFieldAccessNoIdent(JavaLanguageParser.FieldAccessNoIdentContext ctx)
Visit a parse tree produced byJavaLanguageParser.fieldAccessNoIdent()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
T visitSwitchBlockStatementGroup(JavaLanguageParser.SwitchBlockStatementGroupContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchBlockStatementGroup()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
T visitCaseLabel(JavaLanguageParser.CaseLabelContext ctx)
Visit a parse tree produced by thecaseLabel
labeled alternative inJavaLanguageParser.switchLabel()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefaultLabel
T visitDefaultLabel(JavaLanguageParser.DefaultLabelContext ctx)
Visit a parse tree produced by thedefaultLabel
labeled alternative inJavaLanguageParser.switchLabel()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseConstants
T visitCaseConstants(JavaLanguageParser.CaseConstantsContext ctx)
Visit a parse tree produced byJavaLanguageParser.caseConstants()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseConstant
T visitCaseConstant(JavaLanguageParser.CaseConstantContext ctx)
Visit a parse tree produced byJavaLanguageParser.caseConstant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedFor
T visitEnhancedFor(JavaLanguageParser.EnhancedForContext ctx)
Visit a parse tree produced by theenhancedFor
labeled alternative inJavaLanguageParser.forControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForFor
T visitForFor(JavaLanguageParser.ForForContext ctx)
Visit a parse tree produced by theforFor
labeled alternative inJavaLanguageParser.forControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForInit
T visitForInit(JavaLanguageParser.ForInitContext ctx)
Visit a parse tree produced byJavaLanguageParser.forInit()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
T visitEnhancedForControl(JavaLanguageParser.EnhancedForControlContext ctx)
Visit a parse tree produced byJavaLanguageParser.enhancedForControl()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParExpression
T visitParExpression(JavaLanguageParser.ParExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.parExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionList
T visitExpressionList(JavaLanguageParser.ExpressionListContext ctx)
Visit a parse tree produced byJavaLanguageParser.expressionList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
T visitExpression(JavaLanguageParser.ExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRefOp
T visitRefOp(JavaLanguageParser.RefOpContext ctx)
Visit a parse tree produced by therefOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperExp
T visitSuperExp(JavaLanguageParser.SuperExpContext ctx)
Visit a parse tree produced by thesuperExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstanceOfExp
T visitInstanceOfExp(JavaLanguageParser.InstanceOfExpContext ctx)
Visit a parse tree produced by theinstanceOfExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBitShift
T visitBitShift(JavaLanguageParser.BitShiftContext ctx)
Visit a parse tree produced by thebitShift
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNewExp
T visitNewExp(JavaLanguageParser.NewExpContext ctx)
Visit a parse tree produced by thenewExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix
T visitPrefix(JavaLanguageParser.PrefixContext ctx)
Visit a parse tree produced by theprefix
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExp
T visitCastExp(JavaLanguageParser.CastExpContext ctx)
Visit a parse tree produced by thecastExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexOp
T visitIndexOp(JavaLanguageParser.IndexOpContext ctx)
Visit a parse tree produced by theindexOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInvOp
T visitInvOp(JavaLanguageParser.InvOpContext ctx)
Visit a parse tree produced by theinvOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInitExp
T visitInitExp(JavaLanguageParser.InitExpContext ctx)
Visit a parse tree produced by theinitExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleMethodCall
T visitSimpleMethodCall(JavaLanguageParser.SimpleMethodCallContext ctx)
Visit a parse tree produced by thesimpleMethodCall
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaExp
T visitLambdaExp(JavaLanguageParser.LambdaExpContext ctx)
Visit a parse tree produced by thelambdaExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisExp
T visitThisExp(JavaLanguageParser.ThisExpContext ctx)
Visit a parse tree produced by thethisExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimaryExp
T visitPrimaryExp(JavaLanguageParser.PrimaryExpContext ctx)
Visit a parse tree produced by theprimaryExp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfix
T visitPostfix(JavaLanguageParser.PostfixContext ctx)
Visit a parse tree produced by thepostfix
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodRef
T visitMethodRef(JavaLanguageParser.MethodRefContext ctx)
Visit a parse tree produced by themethodRef
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTernaryOp
T visitTernaryOp(JavaLanguageParser.TernaryOpContext ctx)
Visit a parse tree produced by theternaryOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinOp
T visitBinOp(JavaLanguageParser.BinOpContext ctx)
Visit a parse tree produced by thebinOp
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodCall
T visitMethodCall(JavaLanguageParser.MethodCallContext ctx)
Visit a parse tree produced by themethodCall
labeled alternative inJavaLanguageParser.expr()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeCastParameters
T visitTypeCastParameters(JavaLanguageParser.TypeCastParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeCastParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
T visitLambdaExpression(JavaLanguageParser.LambdaExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.lambdaExpression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingleLambdaParam
T visitSingleLambdaParam(JavaLanguageParser.SingleLambdaParamContext ctx)
Visit a parse tree produced by thesingleLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalLambdaParam
T visitFormalLambdaParam(JavaLanguageParser.FormalLambdaParamContext ctx)
Visit a parse tree produced by theformalLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParam
T visitMultiLambdaParam(JavaLanguageParser.MultiLambdaParamContext ctx)
Visit a parse tree produced by themultiLambdaParam
labeled alternative inJavaLanguageParser.lambdaParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParams
T visitMultiLambdaParams(JavaLanguageParser.MultiLambdaParamsContext ctx)
Visit a parse tree produced byJavaLanguageParser.multiLambdaParams()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
T visitLambdaBody(JavaLanguageParser.LambdaBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.lambdaBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchPrimary
T visitSwitchPrimary(JavaLanguageParser.SwitchPrimaryContext ctx)
Visit a parse tree produced by theswitchPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPrimary
T visitParenPrimary(JavaLanguageParser.ParenPrimaryContext ctx)
Visit a parse tree produced by theparenPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTokenPrimary
T visitTokenPrimary(JavaLanguageParser.TokenPrimaryContext ctx)
Visit a parse tree produced by thetokenPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
T visitLiteralPrimary(JavaLanguageParser.LiteralPrimaryContext ctx)
Visit a parse tree produced by theliteralPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassRefPrimary
T visitClassRefPrimary(JavaLanguageParser.ClassRefPrimaryContext ctx)
Visit a parse tree produced by theclassRefPrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitivePrimary
T visitPrimitivePrimary(JavaLanguageParser.PrimitivePrimaryContext ctx)
Visit a parse tree produced by theprimitivePrimary
labeled alternative inJavaLanguageParser.primary()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassType
T visitClassType(JavaLanguageParser.ClassTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.classType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreator
T visitCreator(JavaLanguageParser.CreatorContext ctx)
Visit a parse tree produced byJavaLanguageParser.creator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNameObject
T visitCreatedNameObject(JavaLanguageParser.CreatedNameObjectContext ctx)
Visit a parse tree produced by thecreatedNameObject
labeled alternative inJavaLanguageParser.createdName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNamePrimitive
T visitCreatedNamePrimitive(JavaLanguageParser.CreatedNamePrimitiveContext ctx)
Visit a parse tree produced by thecreatedNamePrimitive
labeled alternative inJavaLanguageParser.createdName()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedNameExtended
T visitCreatedNameExtended(JavaLanguageParser.CreatedNameExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.createdNameExtended()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
T visitInnerCreator(JavaLanguageParser.InnerCreatorContext ctx)
Visit a parse tree produced byJavaLanguageParser.innerCreator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
T visitArrayCreatorRest(JavaLanguageParser.ArrayCreatorRestContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayCreatorRest()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBracketsWithExp
T visitBracketsWithExp(JavaLanguageParser.BracketsWithExpContext ctx)
Visit a parse tree produced byJavaLanguageParser.bracketsWithExp()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
T visitClassCreatorRest(JavaLanguageParser.ClassCreatorRestContext ctx)
Visit a parse tree produced byJavaLanguageParser.classCreatorRest()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDiamond
T visitDiamond(JavaLanguageParser.DiamondContext ctx)
Visit a parse tree produced by thediamond
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgs
T visitTypeArgs(JavaLanguageParser.TypeArgsContext ctx)
Visit a parse tree produced by thetypeArgs
labeled alternative inJavaLanguageParser.typeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardDiamond
T visitNonWildcardDiamond(JavaLanguageParser.NonWildcardDiamondContext ctx)
Visit a parse tree produced by thenonWildcardDiamond
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgs
T visitNonWildcardTypeArgs(JavaLanguageParser.NonWildcardTypeArgsContext ctx)
Visit a parse tree produced by thenonWildcardTypeArgs
labeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
T visitNonWildcardTypeArguments(JavaLanguageParser.NonWildcardTypeArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsTypeList
T visitTypeArgumentsTypeList(JavaLanguageParser.TypeArgumentsTypeListContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeArgumentsTypeList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeList
T visitTypeList(JavaLanguageParser.TypeListContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeType
T visitTypeType(JavaLanguageParser.TypeTypeContext ctx)
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
T visitArrayDeclarator(JavaLanguageParser.ArrayDeclaratorContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayDeclarator()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
T visitPrimitiveType(JavaLanguageParser.PrimitiveTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.primitiveType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
T visitTypeArguments(JavaLanguageParser.TypeArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeArguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixSimple
T visitSuperSuffixSimple(JavaLanguageParser.SuperSuffixSimpleContext ctx)
Visit a parse tree produced by thesuperSuffixSimple
labeled alternative inJavaLanguageParser.superSuffix()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixDot
T visitSuperSuffixDot(JavaLanguageParser.SuperSuffixDotContext ctx)
Visit a parse tree produced by thesuperSuffixDot
labeled alternative inJavaLanguageParser.superSuffix()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArguments
T visitArguments(JavaLanguageParser.ArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.arguments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPattern
T visitPattern(JavaLanguageParser.PatternContext ctx)
Visit a parse tree produced byJavaLanguageParser.pattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGuardedPattern
T visitGuardedPattern(JavaLanguageParser.GuardedPatternContext ctx)
Visit a parse tree produced byJavaLanguageParser.guardedPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPatternVariableDef
T visitPatternVariableDef(JavaLanguageParser.PatternVariableDefContext ctx)
Visit a parse tree produced by thepatternVariableDef
labeled alternative inJavaLanguageParser.primaryPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPattern
T visitParenPattern(JavaLanguageParser.ParenPatternContext ctx)
Visit a parse tree produced by theparenPattern
labeled alternative inJavaLanguageParser.primaryPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypePattern
T visitTypePattern(JavaLanguageParser.TypePatternContext ctx)
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
T visitId(JavaLanguageParser.IdContext ctx)
Visit a parse tree produced byJavaLanguageParser.id()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-