Class JavaLanguageParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParserBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
JavaLanguageParserVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
JavaAstVisitor
public class JavaLanguageParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements JavaLanguageParserVisitor<T>
This class provides an empty implementation ofJavaLanguageParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description JavaLanguageParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitCompilationUnit
public T visitCompilationUnit(JavaLanguageParser.CompilationUnitContext ctx)
Visit a parse tree produced byJavaLanguageParser.compilationUnit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompilationUnitin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
public T visitPackageDeclaration(JavaLanguageParser.PackageDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.packageDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPackageDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDec
public T visitImportDec(JavaLanguageParser.ImportDecContext ctx)
Visit a parse tree produced by theimportDeclabeled alternative inJavaLanguageParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImportDecin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleSemiImport
public T visitSingleSemiImport(JavaLanguageParser.SingleSemiImportContext ctx)
Visit a parse tree produced by thesingleSemiImportlabeled alternative inJavaLanguageParser.importDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleSemiImportin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
public T visitTypeDeclaration(JavaLanguageParser.TypeDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypes
public T visitTypes(JavaLanguageParser.TypesContext ctx)
Visit a parse tree produced byJavaLanguageParser.types(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
public T visitModifier(JavaLanguageParser.ModifierContext ctx)
Visit a parse tree produced byJavaLanguageParser.modifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitModifierin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
public T visitVariableModifier(JavaLanguageParser.VariableModifierContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableModifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableModifierin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
public T visitClassDeclaration(JavaLanguageParser.ClassDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.classDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordDeclaration
public T visitRecordDeclaration(JavaLanguageParser.RecordDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponentsList
public T visitRecordComponentsList(JavaLanguageParser.RecordComponentsListContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponentsList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentsListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponents
public T visitRecordComponents(JavaLanguageParser.RecordComponentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponents().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordComponent
public T visitRecordComponent(JavaLanguageParser.RecordComponentContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordComponent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordComponentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastRecordComponent
public T visitLastRecordComponent(JavaLanguageParser.LastRecordComponentContext ctx)
Visit a parse tree produced byJavaLanguageParser.lastRecordComponent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastRecordComponentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordBody
public T visitRecordBody(JavaLanguageParser.RecordBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRecordBodyDeclaration
public T visitRecordBodyDeclaration(JavaLanguageParser.RecordBodyDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.recordBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRecordBodyDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompactConstructorDeclaration
public T visitCompactConstructorDeclaration(JavaLanguageParser.CompactConstructorDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.compactConstructorDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompactConstructorDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassExtends
public T visitClassExtends(JavaLanguageParser.ClassExtendsContext ctx)
Visit a parse tree produced byJavaLanguageParser.classExtends().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassExtendsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementsClause
public T visitImplementsClause(JavaLanguageParser.ImplementsClauseContext ctx)
Visit a parse tree produced byJavaLanguageParser.implementsClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplementsClausein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
public T visitTypeParameters(JavaLanguageParser.TypeParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
public T visitTypeParameter(JavaLanguageParser.TypeParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeUpperBounds
public T visitTypeUpperBounds(JavaLanguageParser.TypeUpperBoundsContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeUpperBounds().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeUpperBoundsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
public T visitTypeBound(JavaLanguageParser.TypeBoundContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeBound().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBoundin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBoundType
public T visitTypeBoundType(JavaLanguageParser.TypeBoundTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeBoundType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeBoundTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
public T visitEnumDeclaration(JavaLanguageParser.EnumDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBody
public T visitEnumBody(JavaLanguageParser.EnumBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
public T visitEnumConstants(JavaLanguageParser.EnumConstantsContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
public T visitEnumConstant(JavaLanguageParser.EnumConstantContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumConstantin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBodyDeclarations
public T visitEnumBodyDeclarations(JavaLanguageParser.EnumBodyDeclarationsContext ctx)
Visit a parse tree produced byJavaLanguageParser.enumBodyDeclarations().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnumBodyDeclarationsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceDeclaration
public T visitInterfaceDeclaration(JavaLanguageParser.InterfaceDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceExtends
public T visitInterfaceExtends(JavaLanguageParser.InterfaceExtendsContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceExtends().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceExtendsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
public T visitClassBody(JavaLanguageParser.ClassBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.classBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBody
public T visitInterfaceBody(JavaLanguageParser.InterfaceBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyClass
public T visitEmptyClass(JavaLanguageParser.EmptyClassContext ctx)
Visit a parse tree produced by theemptyClasslabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyClassin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBlock
public T visitClassBlock(JavaLanguageParser.ClassBlockContext ctx)
Visit a parse tree produced by theclassBlocklabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDef
public T visitClassDef(JavaLanguageParser.ClassDefContext ctx)
Visit a parse tree produced by theclassDeflabeled alternative inJavaLanguageParser.classBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassDefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
public T visitMemberDeclaration(JavaLanguageParser.MemberDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.memberDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
public T visitMethodDeclaration(JavaLanguageParser.MethodDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.methodDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
public T visitMethodBody(JavaLanguageParser.MethodBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.methodBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowsList
public T visitThrowsList(JavaLanguageParser.ThrowsListContext ctx)
Visit a parse tree produced byJavaLanguageParser.throwsList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowsListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
public T visitConstructorDeclaration(JavaLanguageParser.ConstructorDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.constructorDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
public T visitFieldDeclaration(JavaLanguageParser.FieldDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.fieldDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceBodyDeclaration
public T visitInterfaceBodyDeclaration(JavaLanguageParser.InterfaceBodyDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceBodyDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceBodyDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMemberDeclaration
public T visitInterfaceMemberDeclaration(JavaLanguageParser.InterfaceMemberDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceMemberDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMemberDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceMethodDeclaration
public T visitInterfaceMethodDeclaration(JavaLanguageParser.InterfaceMethodDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.interfaceMethodDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInterfaceMethodDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
public 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).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
public 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).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
public 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).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableDeclaratorIdin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
public T visitVariableInitializer(JavaLanguageParser.VariableInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
public T visitArrayInitializer(JavaLanguageParser.ArrayInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
public T visitClassOrInterfaceType(JavaLanguageParser.ClassOrInterfaceTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceType(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceTypeExtended
public T visitClassOrInterfaceTypeExtended(JavaLanguageParser.ClassOrInterfaceTypeExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceTypeExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceTypeExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleTypeArgument
public T visitSimpleTypeArgument(JavaLanguageParser.SimpleTypeArgumentContext ctx)
Visit a parse tree produced by thesimpleTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleTypeArgumentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildCardTypeArgument
public T visitWildCardTypeArgument(JavaLanguageParser.WildCardTypeArgumentContext ctx)
Visit a parse tree produced by thewildCardTypeArgumentlabeled alternative inJavaLanguageParser.typeArgument().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildCardTypeArgumentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameList
public T visitQualifiedNameList(JavaLanguageParser.QualifiedNameListContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedNameList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
public T visitFormalParameters(JavaLanguageParser.FormalParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
public T visitFormalParameterList(JavaLanguageParser.FormalParameterListContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameterList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
public T visitFormalParameter(JavaLanguageParser.FormalParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.formalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLastFormalParameter
public T visitLastFormalParameter(JavaLanguageParser.LastFormalParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.lastFormalParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLastFormalParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
public T visitQualifiedName(JavaLanguageParser.QualifiedNameContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNamein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameExtended
public T visitQualifiedNameExtended(JavaLanguageParser.QualifiedNameExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.qualifiedNameExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedNameExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
public T visitLiteral(JavaLanguageParser.LiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
public T visitIntegerLiteral(JavaLanguageParser.IntegerLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.integerLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLiteral
public T visitFloatLiteral(JavaLanguageParser.FloatLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.floatLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloatLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTextBlockLiteral
public T visitTextBlockLiteral(JavaLanguageParser.TextBlockLiteralContext ctx)
Visit a parse tree produced byJavaLanguageParser.textBlockLiteral().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextBlockLiteralin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotations
public T visitAnnotations(JavaLanguageParser.AnnotationsContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotations(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
public T visitAnnotation(JavaLanguageParser.AnnotationContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
public T visitElementValuePairs(JavaLanguageParser.ElementValuePairsContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValuePairs().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
public T visitElementValuePair(JavaLanguageParser.ElementValuePairContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValuePair().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuePairin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
public T visitElementValue(JavaLanguageParser.ElementValueContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValuein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
public T visitElementValueArrayInitializer(JavaLanguageParser.ElementValueArrayInitializerContext ctx)
Visit a parse tree produced byJavaLanguageParser.elementValueArrayInitializer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElementValueArrayInitializerin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeDeclaration
public T visitAnnotationTypeDeclaration(JavaLanguageParser.AnnotationTypeDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotationTypeDeclaration(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeBody
public T visitAnnotationTypeBody(JavaLanguageParser.AnnotationTypeBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotationTypeBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationTypeElementDeclaration
public T visitAnnotationTypeElementDeclaration(JavaLanguageParser.AnnotationTypeElementDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.annotationTypeElementDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypeElementDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationField
public T visitAnnotationField(JavaLanguageParser.AnnotationFieldContext ctx)
Visit a parse tree produced by theannotationFieldlabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationFieldin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationType
public T visitAnnotationType(JavaLanguageParser.AnnotationTypeContext ctx)
Visit a parse tree produced by theannotationTypelabeled alternative inJavaLanguageParser.annotationTypeElementRest(java.util.List<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.ModifierContext>).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationMethodRest
public 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).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationMethodRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationConstantRest
public 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).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAnnotationConstantRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
public T visitDefaultValue(JavaLanguageParser.DefaultValueContext ctx)
Visit a parse tree produced byJavaLanguageParser.defaultValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultValuein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorBlock
public T visitConstructorBlock(JavaLanguageParser.ConstructorBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.constructorBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitConstructorBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplicitCtorCall
public T visitExplicitCtorCall(JavaLanguageParser.ExplicitCtorCallContext ctx)
Visit a parse tree produced by theexplicitCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExplicitCtorCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryCtorCall
public T visitPrimaryCtorCall(JavaLanguageParser.PrimaryCtorCallContext ctx)
Visit a parse tree produced by theprimaryCtorCalllabeled alternative inJavaLanguageParser.explicitConstructorInvocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryCtorCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
public T visitBlock(JavaLanguageParser.BlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.block().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVar
public T visitLocalVar(JavaLanguageParser.LocalVarContext ctx)
Visit a parse tree produced by thelocalVarlabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalVarin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStat
public T visitStat(JavaLanguageParser.StatContext ctx)
Visit a parse tree produced by thestatlabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalType
public T visitLocalType(JavaLanguageParser.LocalTypeContext ctx)
Visit a parse tree produced by thelocalTypelabeled alternative inJavaLanguageParser.blockStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
public T visitLocalVariableDeclaration(JavaLanguageParser.LocalVariableDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.localVariableDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalVariableDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalTypeDeclaration
public T visitLocalTypeDeclaration(JavaLanguageParser.LocalTypeDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.localTypeDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLocalTypeDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStat
public T visitBlockStat(JavaLanguageParser.BlockStatContext ctx)
Visit a parse tree produced by theblockStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssertExp
public T visitAssertExp(JavaLanguageParser.AssertExpContext ctx)
Visit a parse tree produced by theassertExplabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssertExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfStat
public T visitIfStat(JavaLanguageParser.IfStatContext ctx)
Visit a parse tree produced by theifStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStat
public T visitForStat(JavaLanguageParser.ForStatContext ctx)
Visit a parse tree produced by theforStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStat
public T visitWhileStat(JavaLanguageParser.WhileStatContext ctx)
Visit a parse tree produced by thewhileStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhileStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoStat
public T visitDoStat(JavaLanguageParser.DoStatContext ctx)
Visit a parse tree produced by thedoStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryStat
public T visitTryStat(JavaLanguageParser.TryStatContext ctx)
Visit a parse tree produced by thetryStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryWithResourceStat
public T visitTryWithResourceStat(JavaLanguageParser.TryWithResourceStatContext ctx)
Visit a parse tree produced by thetryWithResourceStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryWithResourceStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYieldStat
public T visitYieldStat(JavaLanguageParser.YieldStatContext ctx)
Visit a parse tree produced by theyieldStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitYieldStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStat
public T visitSwitchStat(JavaLanguageParser.SwitchStatContext ctx)
Visit a parse tree produced by theswitchStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSyncStat
public T visitSyncStat(JavaLanguageParser.SyncStatContext ctx)
Visit a parse tree produced by thesyncStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSyncStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStat
public T visitReturnStat(JavaLanguageParser.ReturnStatContext ctx)
Visit a parse tree produced by thereturnStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReturnStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowStat
public T visitThrowStat(JavaLanguageParser.ThrowStatContext ctx)
Visit a parse tree produced by thethrowStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThrowStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStat
public T visitBreakStat(JavaLanguageParser.BreakStatContext ctx)
Visit a parse tree produced by thebreakStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBreakStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStat
public T visitContinueStat(JavaLanguageParser.ContinueStatContext ctx)
Visit a parse tree produced by thecontinueStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContinueStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStat
public T visitEmptyStat(JavaLanguageParser.EmptyStatContext ctx)
Visit a parse tree produced by theemptyStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpStat
public T visitExpStat(JavaLanguageParser.ExpStatContext ctx)
Visit a parse tree produced by theexpStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelStat
public T visitLabelStat(JavaLanguageParser.LabelStatContext ctx)
Visit a parse tree produced by thelabelStatlabeled alternative inJavaLanguageParser.statement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchExpressionOrStatement
public T visitSwitchExpressionOrStatement(JavaLanguageParser.SwitchExpressionOrStatementContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchExpressionOrStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchExpressionOrStatementin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchRules
public T visitSwitchRules(JavaLanguageParser.SwitchRulesContext ctx)
Visit a parse tree produced by theswitchRuleslabeled alternative inJavaLanguageParser.switchBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchRulesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlocks
public T visitSwitchBlocks(JavaLanguageParser.SwitchBlocksContext ctx)
Visit a parse tree produced by theswitchBlockslabeled alternative inJavaLanguageParser.switchBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchBlocksin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledRule
public T visitSwitchLabeledRule(JavaLanguageParser.SwitchLabeledRuleContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledRule().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledRulein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledExpression
public T visitSwitchLabeledExpression(JavaLanguageParser.SwitchLabeledExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledBlock
public T visitSwitchLabeledBlock(JavaLanguageParser.SwitchLabeledBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabeledThrow
public T visitSwitchLabeledThrow(JavaLanguageParser.SwitchLabeledThrowContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchLabeledThrow().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchLabeledThrowin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElseStat
public T visitElseStat(JavaLanguageParser.ElseStatContext ctx)
Visit a parse tree produced byJavaLanguageParser.elseStat().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitElseStatin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
public T visitCatchClause(JavaLanguageParser.CatchClauseContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchClause().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchClausein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchParameter
public T visitCatchParameter(JavaLanguageParser.CatchParameterContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchParameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchParameterin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
public T visitCatchType(JavaLanguageParser.CatchTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.catchType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCatchTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
public T visitFinallyBlock(JavaLanguageParser.FinallyBlockContext ctx)
Visit a parse tree produced byJavaLanguageParser.finallyBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinallyBlockin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceSpecification
public T visitResourceSpecification(JavaLanguageParser.ResourceSpecificationContext ctx)
Visit a parse tree produced byJavaLanguageParser.resourceSpecification().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceSpecificationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
public T visitResources(JavaLanguageParser.ResourcesContext ctx)
Visit a parse tree produced byJavaLanguageParser.resources().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
public T visitResource(JavaLanguageParser.ResourceContext ctx)
Visit a parse tree produced byJavaLanguageParser.resource().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourcein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceDeclaration
public T visitResourceDeclaration(JavaLanguageParser.ResourceDeclarationContext ctx)
Visit a parse tree produced byJavaLanguageParser.resourceDeclaration().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceDeclarationin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableAccess
public T visitVariableAccess(JavaLanguageParser.VariableAccessContext ctx)
Visit a parse tree produced byJavaLanguageParser.variableAccess().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableAccessin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldAccessNoIdent
public T visitFieldAccessNoIdent(JavaLanguageParser.FieldAccessNoIdentContext ctx)
Visit a parse tree produced byJavaLanguageParser.fieldAccessNoIdent().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFieldAccessNoIdentin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
public T visitSwitchBlockStatementGroup(JavaLanguageParser.SwitchBlockStatementGroupContext ctx)
Visit a parse tree produced byJavaLanguageParser.switchBlockStatementGroup().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchBlockStatementGroupin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
public T visitCaseLabel(JavaLanguageParser.CaseLabelContext ctx)
Visit a parse tree produced by thecaseLabellabeled alternative inJavaLanguageParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseLabelin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultLabel
public T visitDefaultLabel(JavaLanguageParser.DefaultLabelContext ctx)
Visit a parse tree produced by thedefaultLabellabeled alternative inJavaLanguageParser.switchLabel().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDefaultLabelin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseConstants
public T visitCaseConstants(JavaLanguageParser.CaseConstantsContext ctx)
Visit a parse tree produced byJavaLanguageParser.caseConstants().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseConstantsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseConstant
public T visitCaseConstant(JavaLanguageParser.CaseConstantContext ctx)
Visit a parse tree produced byJavaLanguageParser.caseConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCaseConstantin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedFor
public T visitEnhancedFor(JavaLanguageParser.EnhancedForContext ctx)
Visit a parse tree produced by theenhancedForlabeled alternative inJavaLanguageParser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnhancedForin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForFor
public T visitForFor(JavaLanguageParser.ForForContext ctx)
Visit a parse tree produced by theforForlabeled alternative inJavaLanguageParser.forControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForForin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
public T visitForInit(JavaLanguageParser.ForInitContext ctx)
Visit a parse tree produced byJavaLanguageParser.forInit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForInitin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
public T visitEnhancedForControl(JavaLanguageParser.EnhancedForControlContext ctx)
Visit a parse tree produced byJavaLanguageParser.enhancedForControl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnhancedForControlin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
public T visitParExpression(JavaLanguageParser.ParExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.parExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
public T visitExpressionList(JavaLanguageParser.ExpressionListContext ctx)
Visit a parse tree produced byJavaLanguageParser.expressionList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(JavaLanguageParser.ExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRefOp
public T visitRefOp(JavaLanguageParser.RefOpContext ctx)
Visit a parse tree produced by therefOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRefOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperExp
public T visitSuperExp(JavaLanguageParser.SuperExpContext ctx)
Visit a parse tree produced by thesuperExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceOfExp
public T visitInstanceOfExp(JavaLanguageParser.InstanceOfExpContext ctx)
Visit a parse tree produced by theinstanceOfExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInstanceOfExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBitShift
public T visitBitShift(JavaLanguageParser.BitShiftContext ctx)
Visit a parse tree produced by thebitShiftlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBitShiftin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewExp
public T visitNewExp(JavaLanguageParser.NewExpContext ctx)
Visit a parse tree produced by thenewExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrefix
public T visitPrefix(JavaLanguageParser.PrefixContext ctx)
Visit a parse tree produced by theprefixlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrefixin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastExp
public T visitCastExp(JavaLanguageParser.CastExpContext ctx)
Visit a parse tree produced by thecastExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexOp
public T visitIndexOp(JavaLanguageParser.IndexOpContext ctx)
Visit a parse tree produced by theindexOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInvOp
public T visitInvOp(JavaLanguageParser.InvOpContext ctx)
Visit a parse tree produced by theinvOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInvOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitExp
public T visitInitExp(JavaLanguageParser.InitExpContext ctx)
Visit a parse tree produced by theinitExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInitExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleMethodCall
public T visitSimpleMethodCall(JavaLanguageParser.SimpleMethodCallContext ctx)
Visit a parse tree produced by thesimpleMethodCalllabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleMethodCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExp
public T visitLambdaExp(JavaLanguageParser.LambdaExpContext ctx)
Visit a parse tree produced by thelambdaExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisExp
public T visitThisExp(JavaLanguageParser.ThisExpContext ctx)
Visit a parse tree produced by thethisExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExp
public T visitPrimaryExp(JavaLanguageParser.PrimaryExpContext ctx)
Visit a parse tree produced by theprimaryExplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimaryExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfix
public T visitPostfix(JavaLanguageParser.PostfixContext ctx)
Visit a parse tree produced by thepostfixlabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPostfixin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodRef
public T visitMethodRef(JavaLanguageParser.MethodRefContext ctx)
Visit a parse tree produced by themethodReflabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodRefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTernaryOp
public T visitTernaryOp(JavaLanguageParser.TernaryOpContext ctx)
Visit a parse tree produced by theternaryOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTernaryOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinOp
public T visitBinOp(JavaLanguageParser.BinOpContext ctx)
Visit a parse tree produced by thebinOplabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinOpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
public T visitMethodCall(JavaLanguageParser.MethodCallContext ctx)
Visit a parse tree produced by themethodCalllabeled alternative inJavaLanguageParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMethodCallin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeCastParameters
public T visitTypeCastParameters(JavaLanguageParser.TypeCastParametersContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeCastParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeCastParametersin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaExpression
public T visitLambdaExpression(JavaLanguageParser.LambdaExpressionContext ctx)
Visit a parse tree produced byJavaLanguageParser.lambdaExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaExpressionin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleLambdaParam
public T visitSingleLambdaParam(JavaLanguageParser.SingleLambdaParamContext ctx)
Visit a parse tree produced by thesingleLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalLambdaParam
public T visitFormalLambdaParam(JavaLanguageParser.FormalLambdaParamContext ctx)
Visit a parse tree produced by theformalLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFormalLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParam
public T visitMultiLambdaParam(JavaLanguageParser.MultiLambdaParamContext ctx)
Visit a parse tree produced by themultiLambdaParamlabeled alternative inJavaLanguageParser.lambdaParameters().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLambdaParamin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiLambdaParams
public T visitMultiLambdaParams(JavaLanguageParser.MultiLambdaParamsContext ctx)
Visit a parse tree produced byJavaLanguageParser.multiLambdaParams().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiLambdaParamsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
public T visitLambdaBody(JavaLanguageParser.LambdaBodyContext ctx)
Visit a parse tree produced byJavaLanguageParser.lambdaBody().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLambdaBodyin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchPrimary
public T visitSwitchPrimary(JavaLanguageParser.SwitchPrimaryContext ctx)
Visit a parse tree produced by theswitchPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSwitchPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenPrimary
public T visitParenPrimary(JavaLanguageParser.ParenPrimaryContext ctx)
Visit a parse tree produced by theparenPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTokenPrimary
public T visitTokenPrimary(JavaLanguageParser.TokenPrimaryContext ctx)
Visit a parse tree produced by thetokenPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTokenPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralPrimary
public T visitLiteralPrimary(JavaLanguageParser.LiteralPrimaryContext ctx)
Visit a parse tree produced by theliteralPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassRefPrimary
public T visitClassRefPrimary(JavaLanguageParser.ClassRefPrimaryContext ctx)
Visit a parse tree produced by theclassRefPrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassRefPrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitivePrimary
public T visitPrimitivePrimary(JavaLanguageParser.PrimitivePrimaryContext ctx)
Visit a parse tree produced by theprimitivePrimarylabeled alternative inJavaLanguageParser.primary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimitivePrimaryin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassType
public T visitClassType(JavaLanguageParser.ClassTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.classType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
public T visitCreator(JavaLanguageParser.CreatorContext ctx)
Visit a parse tree produced byJavaLanguageParser.creator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNameObject
public T visitCreatedNameObject(JavaLanguageParser.CreatedNameObjectContext ctx)
Visit a parse tree produced by thecreatedNameObjectlabeled alternative inJavaLanguageParser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNameObjectin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNamePrimitive
public T visitCreatedNamePrimitive(JavaLanguageParser.CreatedNamePrimitiveContext ctx)
Visit a parse tree produced by thecreatedNamePrimitivelabeled alternative inJavaLanguageParser.createdName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNamePrimitivein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedNameExtended
public T visitCreatedNameExtended(JavaLanguageParser.CreatedNameExtendedContext ctx)
Visit a parse tree produced byJavaLanguageParser.createdNameExtended().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCreatedNameExtendedin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInnerCreator
public T visitInnerCreator(JavaLanguageParser.InnerCreatorContext ctx)
Visit a parse tree produced byJavaLanguageParser.innerCreator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInnerCreatorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayCreatorRest
public T visitArrayCreatorRest(JavaLanguageParser.ArrayCreatorRestContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayCreatorRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBracketsWithExp
public T visitBracketsWithExp(JavaLanguageParser.BracketsWithExpContext ctx)
Visit a parse tree produced byJavaLanguageParser.bracketsWithExp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBracketsWithExpin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassCreatorRest
public T visitClassCreatorRest(JavaLanguageParser.ClassCreatorRestContext ctx)
Visit a parse tree produced byJavaLanguageParser.classCreatorRest().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassCreatorRestin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDiamond
public T visitDiamond(JavaLanguageParser.DiamondContext ctx)
Visit a parse tree produced by thediamondlabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDiamondin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgs
public T visitTypeArgs(JavaLanguageParser.TypeArgsContext ctx)
Visit a parse tree produced by thetypeArgslabeled alternative inJavaLanguageParser.typeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardDiamond
public T visitNonWildcardDiamond(JavaLanguageParser.NonWildcardDiamondContext ctx)
Visit a parse tree produced by thenonWildcardDiamondlabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardDiamondin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArgs
public T visitNonWildcardTypeArgs(JavaLanguageParser.NonWildcardTypeArgsContext ctx)
Visit a parse tree produced by thenonWildcardTypeArgslabeled alternative inJavaLanguageParser.nonWildcardTypeArgumentsOrDiamond().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
public T visitNonWildcardTypeArguments(JavaLanguageParser.NonWildcardTypeArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.nonWildcardTypeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonWildcardTypeArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsTypeList
public T visitTypeArgumentsTypeList(JavaLanguageParser.TypeArgumentsTypeListContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeArgumentsTypeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsTypeListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
public T visitTypeList(JavaLanguageParser.TypeListContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeListin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeType
public T visitTypeType(JavaLanguageParser.TypeTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeType(boolean).The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceOrPrimitiveType
public T visitClassOrInterfaceOrPrimitiveType(JavaLanguageParser.ClassOrInterfaceOrPrimitiveTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.classOrInterfaceOrPrimitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClassOrInterfaceOrPrimitiveTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayDeclarator
public T visitArrayDeclarator(JavaLanguageParser.ArrayDeclaratorContext ctx)
Visit a parse tree produced byJavaLanguageParser.arrayDeclarator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayDeclaratorin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
public T visitPrimitiveType(JavaLanguageParser.PrimitiveTypeContext ctx)
Visit a parse tree produced byJavaLanguageParser.primitiveType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrimitiveTypein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
public T visitTypeArguments(JavaLanguageParser.TypeArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.typeArguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixSimple
public T visitSuperSuffixSimple(JavaLanguageParser.SuperSuffixSimpleContext ctx)
Visit a parse tree produced by thesuperSuffixSimplelabeled alternative inJavaLanguageParser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSuffixSimplein interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperSuffixDot
public T visitSuperSuffixDot(JavaLanguageParser.SuperSuffixDotContext ctx)
Visit a parse tree produced by thesuperSuffixDotlabeled alternative inJavaLanguageParser.superSuffix().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuperSuffixDotin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
public T visitArguments(JavaLanguageParser.ArgumentsContext ctx)
Visit a parse tree produced byJavaLanguageParser.arguments().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArgumentsin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPattern
public T visitPattern(JavaLanguageParser.PatternContext ctx)
Visit a parse tree produced byJavaLanguageParser.pattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGuardedPattern
public T visitGuardedPattern(JavaLanguageParser.GuardedPatternContext ctx)
Visit a parse tree produced byJavaLanguageParser.guardedPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGuardedPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPatternVariableDef
public T visitPatternVariableDef(JavaLanguageParser.PatternVariableDefContext ctx)
Visit a parse tree produced by thepatternVariableDeflabeled alternative inJavaLanguageParser.primaryPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPatternVariableDefin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenPattern
public T visitParenPattern(JavaLanguageParser.ParenPatternContext ctx)
Visit a parse tree produced by theparenPatternlabeled alternative inJavaLanguageParser.primaryPattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenPatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypePattern
public T visitTypePattern(JavaLanguageParser.TypePatternContext ctx)
Visit a parse tree produced byJavaLanguageParser.typePattern().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypePatternin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPermittedSubclassesAndInterfaces
public T visitPermittedSubclassesAndInterfaces(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx)
Visit a parse tree produced byJavaLanguageParser.permittedSubclassesAndInterfaces().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPermittedSubclassesAndInterfacesin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
public T visitId(JavaLanguageParser.IdContext ctx)
Visit a parse tree produced byJavaLanguageParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdin interfaceJavaLanguageParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-