public class JavaParserBaseListener extends Object implements JavaParserListener
JavaParserListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
JavaParserBaseListener() |
public void enterCompilationUnit(JavaParser.CompilationUnitContext ctx)
JavaParser.compilationUnit()
.
The default implementation does nothing.
enterCompilationUnit
in interface JavaParserListener
ctx
- the parse treepublic void exitCompilationUnit(JavaParser.CompilationUnitContext ctx)
JavaParser.compilationUnit()
.
The default implementation does nothing.
exitCompilationUnit
in interface JavaParserListener
ctx
- the parse treepublic void enterPackageDeclaration(JavaParser.PackageDeclarationContext ctx)
JavaParser.packageDeclaration()
.
The default implementation does nothing.
enterPackageDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitPackageDeclaration(JavaParser.PackageDeclarationContext ctx)
JavaParser.packageDeclaration()
.
The default implementation does nothing.
exitPackageDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterImportDeclaration(JavaParser.ImportDeclarationContext ctx)
JavaParser.importDeclaration()
.
The default implementation does nothing.
enterImportDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitImportDeclaration(JavaParser.ImportDeclarationContext ctx)
JavaParser.importDeclaration()
.
The default implementation does nothing.
exitImportDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeDeclaration(JavaParser.TypeDeclarationContext ctx)
JavaParser.typeDeclaration()
.
The default implementation does nothing.
enterTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeDeclaration(JavaParser.TypeDeclarationContext ctx)
JavaParser.typeDeclaration()
.
The default implementation does nothing.
exitTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterModifier(JavaParser.ModifierContext ctx)
JavaParser.modifier()
.
The default implementation does nothing.
enterModifier
in interface JavaParserListener
ctx
- the parse treepublic void exitModifier(JavaParser.ModifierContext ctx)
JavaParser.modifier()
.
The default implementation does nothing.
exitModifier
in interface JavaParserListener
ctx
- the parse treepublic void enterClassOrInterfaceModifier(JavaParser.ClassOrInterfaceModifierContext ctx)
JavaParser.classOrInterfaceModifier()
.
The default implementation does nothing.
enterClassOrInterfaceModifier
in interface JavaParserListener
ctx
- the parse treepublic void exitClassOrInterfaceModifier(JavaParser.ClassOrInterfaceModifierContext ctx)
JavaParser.classOrInterfaceModifier()
.
The default implementation does nothing.
exitClassOrInterfaceModifier
in interface JavaParserListener
ctx
- the parse treepublic void enterVariableModifier(JavaParser.VariableModifierContext ctx)
JavaParser.variableModifier()
.
The default implementation does nothing.
enterVariableModifier
in interface JavaParserListener
ctx
- the parse treepublic void exitVariableModifier(JavaParser.VariableModifierContext ctx)
JavaParser.variableModifier()
.
The default implementation does nothing.
exitVariableModifier
in interface JavaParserListener
ctx
- the parse treepublic void enterClassDeclaration(JavaParser.ClassDeclarationContext ctx)
JavaParser.classDeclaration()
.
The default implementation does nothing.
enterClassDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitClassDeclaration(JavaParser.ClassDeclarationContext ctx)
JavaParser.classDeclaration()
.
The default implementation does nothing.
exitClassDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeParameters(JavaParser.TypeParametersContext ctx)
JavaParser.typeParameters()
.
The default implementation does nothing.
enterTypeParameters
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeParameters(JavaParser.TypeParametersContext ctx)
JavaParser.typeParameters()
.
The default implementation does nothing.
exitTypeParameters
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeParameter(JavaParser.TypeParameterContext ctx)
JavaParser.typeParameter()
.
The default implementation does nothing.
enterTypeParameter
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeParameter(JavaParser.TypeParameterContext ctx)
JavaParser.typeParameter()
.
The default implementation does nothing.
exitTypeParameter
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeBound(JavaParser.TypeBoundContext ctx)
JavaParser.typeBound()
.
The default implementation does nothing.
enterTypeBound
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeBound(JavaParser.TypeBoundContext ctx)
JavaParser.typeBound()
.
The default implementation does nothing.
exitTypeBound
in interface JavaParserListener
ctx
- the parse treepublic void enterEnumDeclaration(JavaParser.EnumDeclarationContext ctx)
JavaParser.enumDeclaration()
.
The default implementation does nothing.
enterEnumDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitEnumDeclaration(JavaParser.EnumDeclarationContext ctx)
JavaParser.enumDeclaration()
.
The default implementation does nothing.
exitEnumDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterEnumConstants(JavaParser.EnumConstantsContext ctx)
JavaParser.enumConstants()
.
The default implementation does nothing.
enterEnumConstants
in interface JavaParserListener
ctx
- the parse treepublic void exitEnumConstants(JavaParser.EnumConstantsContext ctx)
JavaParser.enumConstants()
.
The default implementation does nothing.
exitEnumConstants
in interface JavaParserListener
ctx
- the parse treepublic void enterEnumConstant(JavaParser.EnumConstantContext ctx)
JavaParser.enumConstant()
.
The default implementation does nothing.
enterEnumConstant
in interface JavaParserListener
ctx
- the parse treepublic void exitEnumConstant(JavaParser.EnumConstantContext ctx)
JavaParser.enumConstant()
.
The default implementation does nothing.
exitEnumConstant
in interface JavaParserListener
ctx
- the parse treepublic void enterEnumBodyDeclarations(JavaParser.EnumBodyDeclarationsContext ctx)
JavaParser.enumBodyDeclarations()
.
The default implementation does nothing.
enterEnumBodyDeclarations
in interface JavaParserListener
ctx
- the parse treepublic void exitEnumBodyDeclarations(JavaParser.EnumBodyDeclarationsContext ctx)
JavaParser.enumBodyDeclarations()
.
The default implementation does nothing.
exitEnumBodyDeclarations
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceDeclaration(JavaParser.InterfaceDeclarationContext ctx)
JavaParser.interfaceDeclaration()
.
The default implementation does nothing.
enterInterfaceDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceDeclaration(JavaParser.InterfaceDeclarationContext ctx)
JavaParser.interfaceDeclaration()
.
The default implementation does nothing.
exitInterfaceDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterClassBody(JavaParser.ClassBodyContext ctx)
JavaParser.classBody()
.
The default implementation does nothing.
enterClassBody
in interface JavaParserListener
ctx
- the parse treepublic void exitClassBody(JavaParser.ClassBodyContext ctx)
JavaParser.classBody()
.
The default implementation does nothing.
exitClassBody
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceBody(JavaParser.InterfaceBodyContext ctx)
JavaParser.interfaceBody()
.
The default implementation does nothing.
enterInterfaceBody
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceBody(JavaParser.InterfaceBodyContext ctx)
JavaParser.interfaceBody()
.
The default implementation does nothing.
exitInterfaceBody
in interface JavaParserListener
ctx
- the parse treepublic void enterClassBodyDeclaration(JavaParser.ClassBodyDeclarationContext ctx)
JavaParser.classBodyDeclaration()
.
The default implementation does nothing.
enterClassBodyDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitClassBodyDeclaration(JavaParser.ClassBodyDeclarationContext ctx)
JavaParser.classBodyDeclaration()
.
The default implementation does nothing.
exitClassBodyDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterMemberDeclaration(JavaParser.MemberDeclarationContext ctx)
JavaParser.memberDeclaration()
.
The default implementation does nothing.
enterMemberDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitMemberDeclaration(JavaParser.MemberDeclarationContext ctx)
JavaParser.memberDeclaration()
.
The default implementation does nothing.
exitMemberDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterMethodDeclaration(JavaParser.MethodDeclarationContext ctx)
JavaParser.methodDeclaration()
.
The default implementation does nothing.
enterMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitMethodDeclaration(JavaParser.MethodDeclarationContext ctx)
JavaParser.methodDeclaration()
.
The default implementation does nothing.
exitMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterMethodBody(JavaParser.MethodBodyContext ctx)
JavaParser.methodBody()
.
The default implementation does nothing.
enterMethodBody
in interface JavaParserListener
ctx
- the parse treepublic void exitMethodBody(JavaParser.MethodBodyContext ctx)
JavaParser.methodBody()
.
The default implementation does nothing.
exitMethodBody
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeTypeOrVoid(JavaParser.TypeTypeOrVoidContext ctx)
JavaParser.typeTypeOrVoid()
.
The default implementation does nothing.
enterTypeTypeOrVoid
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeTypeOrVoid(JavaParser.TypeTypeOrVoidContext ctx)
JavaParser.typeTypeOrVoid()
.
The default implementation does nothing.
exitTypeTypeOrVoid
in interface JavaParserListener
ctx
- the parse treepublic void enterGenericMethodDeclaration(JavaParser.GenericMethodDeclarationContext ctx)
JavaParser.genericMethodDeclaration()
.
The default implementation does nothing.
enterGenericMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitGenericMethodDeclaration(JavaParser.GenericMethodDeclarationContext ctx)
JavaParser.genericMethodDeclaration()
.
The default implementation does nothing.
exitGenericMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterGenericConstructorDeclaration(JavaParser.GenericConstructorDeclarationContext ctx)
JavaParser.genericConstructorDeclaration()
.
The default implementation does nothing.
enterGenericConstructorDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitGenericConstructorDeclaration(JavaParser.GenericConstructorDeclarationContext ctx)
JavaParser.genericConstructorDeclaration()
.
The default implementation does nothing.
exitGenericConstructorDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterConstructorDeclaration(JavaParser.ConstructorDeclarationContext ctx)
JavaParser.constructorDeclaration()
.
The default implementation does nothing.
enterConstructorDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitConstructorDeclaration(JavaParser.ConstructorDeclarationContext ctx)
JavaParser.constructorDeclaration()
.
The default implementation does nothing.
exitConstructorDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterFieldDeclaration(JavaParser.FieldDeclarationContext ctx)
JavaParser.fieldDeclaration()
.
The default implementation does nothing.
enterFieldDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitFieldDeclaration(JavaParser.FieldDeclarationContext ctx)
JavaParser.fieldDeclaration()
.
The default implementation does nothing.
exitFieldDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceBodyDeclaration(JavaParser.InterfaceBodyDeclarationContext ctx)
JavaParser.interfaceBodyDeclaration()
.
The default implementation does nothing.
enterInterfaceBodyDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceBodyDeclaration(JavaParser.InterfaceBodyDeclarationContext ctx)
JavaParser.interfaceBodyDeclaration()
.
The default implementation does nothing.
exitInterfaceBodyDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceMemberDeclaration(JavaParser.InterfaceMemberDeclarationContext ctx)
JavaParser.interfaceMemberDeclaration()
.
The default implementation does nothing.
enterInterfaceMemberDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceMemberDeclaration(JavaParser.InterfaceMemberDeclarationContext ctx)
JavaParser.interfaceMemberDeclaration()
.
The default implementation does nothing.
exitInterfaceMemberDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterConstDeclaration(JavaParser.ConstDeclarationContext ctx)
JavaParser.constDeclaration()
.
The default implementation does nothing.
enterConstDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitConstDeclaration(JavaParser.ConstDeclarationContext ctx)
JavaParser.constDeclaration()
.
The default implementation does nothing.
exitConstDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterConstantDeclarator(JavaParser.ConstantDeclaratorContext ctx)
JavaParser.constantDeclarator()
.
The default implementation does nothing.
enterConstantDeclarator
in interface JavaParserListener
ctx
- the parse treepublic void exitConstantDeclarator(JavaParser.ConstantDeclaratorContext ctx)
JavaParser.constantDeclarator()
.
The default implementation does nothing.
exitConstantDeclarator
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceMethodDeclaration(JavaParser.InterfaceMethodDeclarationContext ctx)
JavaParser.interfaceMethodDeclaration()
.
The default implementation does nothing.
enterInterfaceMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceMethodDeclaration(JavaParser.InterfaceMethodDeclarationContext ctx)
JavaParser.interfaceMethodDeclaration()
.
The default implementation does nothing.
exitInterfaceMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterInterfaceMethodModifier(JavaParser.InterfaceMethodModifierContext ctx)
JavaParser.interfaceMethodModifier()
.
The default implementation does nothing.
enterInterfaceMethodModifier
in interface JavaParserListener
ctx
- the parse treepublic void exitInterfaceMethodModifier(JavaParser.InterfaceMethodModifierContext ctx)
JavaParser.interfaceMethodModifier()
.
The default implementation does nothing.
exitInterfaceMethodModifier
in interface JavaParserListener
ctx
- the parse treepublic void enterGenericInterfaceMethodDeclaration(JavaParser.GenericInterfaceMethodDeclarationContext ctx)
JavaParser.genericInterfaceMethodDeclaration()
.
The default implementation does nothing.
enterGenericInterfaceMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitGenericInterfaceMethodDeclaration(JavaParser.GenericInterfaceMethodDeclarationContext ctx)
JavaParser.genericInterfaceMethodDeclaration()
.
The default implementation does nothing.
exitGenericInterfaceMethodDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterVariableDeclarators(JavaParser.VariableDeclaratorsContext ctx)
JavaParser.variableDeclarators()
.
The default implementation does nothing.
enterVariableDeclarators
in interface JavaParserListener
ctx
- the parse treepublic void exitVariableDeclarators(JavaParser.VariableDeclaratorsContext ctx)
JavaParser.variableDeclarators()
.
The default implementation does nothing.
exitVariableDeclarators
in interface JavaParserListener
ctx
- the parse treepublic void enterVariableDeclarator(JavaParser.VariableDeclaratorContext ctx)
JavaParser.variableDeclarator()
.
The default implementation does nothing.
enterVariableDeclarator
in interface JavaParserListener
ctx
- the parse treepublic void exitVariableDeclarator(JavaParser.VariableDeclaratorContext ctx)
JavaParser.variableDeclarator()
.
The default implementation does nothing.
exitVariableDeclarator
in interface JavaParserListener
ctx
- the parse treepublic void enterVariableDeclaratorId(JavaParser.VariableDeclaratorIdContext ctx)
JavaParser.variableDeclaratorId()
.
The default implementation does nothing.
enterVariableDeclaratorId
in interface JavaParserListener
ctx
- the parse treepublic void exitVariableDeclaratorId(JavaParser.VariableDeclaratorIdContext ctx)
JavaParser.variableDeclaratorId()
.
The default implementation does nothing.
exitVariableDeclaratorId
in interface JavaParserListener
ctx
- the parse treepublic void enterVariableInitializer(JavaParser.VariableInitializerContext ctx)
JavaParser.variableInitializer()
.
The default implementation does nothing.
enterVariableInitializer
in interface JavaParserListener
ctx
- the parse treepublic void exitVariableInitializer(JavaParser.VariableInitializerContext ctx)
JavaParser.variableInitializer()
.
The default implementation does nothing.
exitVariableInitializer
in interface JavaParserListener
ctx
- the parse treepublic void enterArrayInitializer(JavaParser.ArrayInitializerContext ctx)
JavaParser.arrayInitializer()
.
The default implementation does nothing.
enterArrayInitializer
in interface JavaParserListener
ctx
- the parse treepublic void exitArrayInitializer(JavaParser.ArrayInitializerContext ctx)
JavaParser.arrayInitializer()
.
The default implementation does nothing.
exitArrayInitializer
in interface JavaParserListener
ctx
- the parse treepublic void enterClassOrInterfaceType(JavaParser.ClassOrInterfaceTypeContext ctx)
JavaParser.classOrInterfaceType()
.
The default implementation does nothing.
enterClassOrInterfaceType
in interface JavaParserListener
ctx
- the parse treepublic void exitClassOrInterfaceType(JavaParser.ClassOrInterfaceTypeContext ctx)
JavaParser.classOrInterfaceType()
.
The default implementation does nothing.
exitClassOrInterfaceType
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeArgument(JavaParser.TypeArgumentContext ctx)
JavaParser.typeArgument()
.
The default implementation does nothing.
enterTypeArgument
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeArgument(JavaParser.TypeArgumentContext ctx)
JavaParser.typeArgument()
.
The default implementation does nothing.
exitTypeArgument
in interface JavaParserListener
ctx
- the parse treepublic void enterQualifiedNameList(JavaParser.QualifiedNameListContext ctx)
JavaParser.qualifiedNameList()
.
The default implementation does nothing.
enterQualifiedNameList
in interface JavaParserListener
ctx
- the parse treepublic void exitQualifiedNameList(JavaParser.QualifiedNameListContext ctx)
JavaParser.qualifiedNameList()
.
The default implementation does nothing.
exitQualifiedNameList
in interface JavaParserListener
ctx
- the parse treepublic void enterFormalParameters(JavaParser.FormalParametersContext ctx)
JavaParser.formalParameters()
.
The default implementation does nothing.
enterFormalParameters
in interface JavaParserListener
ctx
- the parse treepublic void exitFormalParameters(JavaParser.FormalParametersContext ctx)
JavaParser.formalParameters()
.
The default implementation does nothing.
exitFormalParameters
in interface JavaParserListener
ctx
- the parse treepublic void enterFormalParameterList(JavaParser.FormalParameterListContext ctx)
JavaParser.formalParameterList()
.
The default implementation does nothing.
enterFormalParameterList
in interface JavaParserListener
ctx
- the parse treepublic void exitFormalParameterList(JavaParser.FormalParameterListContext ctx)
JavaParser.formalParameterList()
.
The default implementation does nothing.
exitFormalParameterList
in interface JavaParserListener
ctx
- the parse treepublic void enterFormalParameter(JavaParser.FormalParameterContext ctx)
JavaParser.formalParameter()
.
The default implementation does nothing.
enterFormalParameter
in interface JavaParserListener
ctx
- the parse treepublic void exitFormalParameter(JavaParser.FormalParameterContext ctx)
JavaParser.formalParameter()
.
The default implementation does nothing.
exitFormalParameter
in interface JavaParserListener
ctx
- the parse treepublic void enterLastFormalParameter(JavaParser.LastFormalParameterContext ctx)
JavaParser.lastFormalParameter()
.
The default implementation does nothing.
enterLastFormalParameter
in interface JavaParserListener
ctx
- the parse treepublic void exitLastFormalParameter(JavaParser.LastFormalParameterContext ctx)
JavaParser.lastFormalParameter()
.
The default implementation does nothing.
exitLastFormalParameter
in interface JavaParserListener
ctx
- the parse treepublic void enterQualifiedName(JavaParser.QualifiedNameContext ctx)
JavaParser.qualifiedName()
.
The default implementation does nothing.
enterQualifiedName
in interface JavaParserListener
ctx
- the parse treepublic void exitQualifiedName(JavaParser.QualifiedNameContext ctx)
JavaParser.qualifiedName()
.
The default implementation does nothing.
exitQualifiedName
in interface JavaParserListener
ctx
- the parse treepublic void enterLiteral(JavaParser.LiteralContext ctx)
JavaParser.literal()
.
The default implementation does nothing.
enterLiteral
in interface JavaParserListener
ctx
- the parse treepublic void exitLiteral(JavaParser.LiteralContext ctx)
JavaParser.literal()
.
The default implementation does nothing.
exitLiteral
in interface JavaParserListener
ctx
- the parse treepublic void enterIntegerLiteral(JavaParser.IntegerLiteralContext ctx)
JavaParser.integerLiteral()
.
The default implementation does nothing.
enterIntegerLiteral
in interface JavaParserListener
ctx
- the parse treepublic void exitIntegerLiteral(JavaParser.IntegerLiteralContext ctx)
JavaParser.integerLiteral()
.
The default implementation does nothing.
exitIntegerLiteral
in interface JavaParserListener
ctx
- the parse treepublic void enterFloatLiteral(JavaParser.FloatLiteralContext ctx)
JavaParser.floatLiteral()
.
The default implementation does nothing.
enterFloatLiteral
in interface JavaParserListener
ctx
- the parse treepublic void exitFloatLiteral(JavaParser.FloatLiteralContext ctx)
JavaParser.floatLiteral()
.
The default implementation does nothing.
exitFloatLiteral
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotation(JavaParser.AnnotationContext ctx)
JavaParser.annotation()
.
The default implementation does nothing.
enterAnnotation
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotation(JavaParser.AnnotationContext ctx)
JavaParser.annotation()
.
The default implementation does nothing.
exitAnnotation
in interface JavaParserListener
ctx
- the parse treepublic void enterElementValuePairs(JavaParser.ElementValuePairsContext ctx)
JavaParser.elementValuePairs()
.
The default implementation does nothing.
enterElementValuePairs
in interface JavaParserListener
ctx
- the parse treepublic void exitElementValuePairs(JavaParser.ElementValuePairsContext ctx)
JavaParser.elementValuePairs()
.
The default implementation does nothing.
exitElementValuePairs
in interface JavaParserListener
ctx
- the parse treepublic void enterElementValuePair(JavaParser.ElementValuePairContext ctx)
JavaParser.elementValuePair()
.
The default implementation does nothing.
enterElementValuePair
in interface JavaParserListener
ctx
- the parse treepublic void exitElementValuePair(JavaParser.ElementValuePairContext ctx)
JavaParser.elementValuePair()
.
The default implementation does nothing.
exitElementValuePair
in interface JavaParserListener
ctx
- the parse treepublic void enterElementValue(JavaParser.ElementValueContext ctx)
JavaParser.elementValue()
.
The default implementation does nothing.
enterElementValue
in interface JavaParserListener
ctx
- the parse treepublic void exitElementValue(JavaParser.ElementValueContext ctx)
JavaParser.elementValue()
.
The default implementation does nothing.
exitElementValue
in interface JavaParserListener
ctx
- the parse treepublic void enterElementValueArrayInitializer(JavaParser.ElementValueArrayInitializerContext ctx)
JavaParser.elementValueArrayInitializer()
.
The default implementation does nothing.
enterElementValueArrayInitializer
in interface JavaParserListener
ctx
- the parse treepublic void exitElementValueArrayInitializer(JavaParser.ElementValueArrayInitializerContext ctx)
JavaParser.elementValueArrayInitializer()
.
The default implementation does nothing.
exitElementValueArrayInitializer
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationTypeDeclaration(JavaParser.AnnotationTypeDeclarationContext ctx)
JavaParser.annotationTypeDeclaration()
.
The default implementation does nothing.
enterAnnotationTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationTypeDeclaration(JavaParser.AnnotationTypeDeclarationContext ctx)
JavaParser.annotationTypeDeclaration()
.
The default implementation does nothing.
exitAnnotationTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationTypeBody(JavaParser.AnnotationTypeBodyContext ctx)
JavaParser.annotationTypeBody()
.
The default implementation does nothing.
enterAnnotationTypeBody
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationTypeBody(JavaParser.AnnotationTypeBodyContext ctx)
JavaParser.annotationTypeBody()
.
The default implementation does nothing.
exitAnnotationTypeBody
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationTypeElementDeclaration(JavaParser.AnnotationTypeElementDeclarationContext ctx)
JavaParser.annotationTypeElementDeclaration()
.
The default implementation does nothing.
enterAnnotationTypeElementDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationTypeElementDeclaration(JavaParser.AnnotationTypeElementDeclarationContext ctx)
JavaParser.annotationTypeElementDeclaration()
.
The default implementation does nothing.
exitAnnotationTypeElementDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationTypeElementRest(JavaParser.AnnotationTypeElementRestContext ctx)
JavaParser.annotationTypeElementRest()
.
The default implementation does nothing.
enterAnnotationTypeElementRest
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationTypeElementRest(JavaParser.AnnotationTypeElementRestContext ctx)
JavaParser.annotationTypeElementRest()
.
The default implementation does nothing.
exitAnnotationTypeElementRest
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationMethodOrConstantRest(JavaParser.AnnotationMethodOrConstantRestContext ctx)
JavaParser.annotationMethodOrConstantRest()
.
The default implementation does nothing.
enterAnnotationMethodOrConstantRest
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationMethodOrConstantRest(JavaParser.AnnotationMethodOrConstantRestContext ctx)
JavaParser.annotationMethodOrConstantRest()
.
The default implementation does nothing.
exitAnnotationMethodOrConstantRest
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationMethodRest(JavaParser.AnnotationMethodRestContext ctx)
JavaParser.annotationMethodRest()
.
The default implementation does nothing.
enterAnnotationMethodRest
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationMethodRest(JavaParser.AnnotationMethodRestContext ctx)
JavaParser.annotationMethodRest()
.
The default implementation does nothing.
exitAnnotationMethodRest
in interface JavaParserListener
ctx
- the parse treepublic void enterAnnotationConstantRest(JavaParser.AnnotationConstantRestContext ctx)
JavaParser.annotationConstantRest()
.
The default implementation does nothing.
enterAnnotationConstantRest
in interface JavaParserListener
ctx
- the parse treepublic void exitAnnotationConstantRest(JavaParser.AnnotationConstantRestContext ctx)
JavaParser.annotationConstantRest()
.
The default implementation does nothing.
exitAnnotationConstantRest
in interface JavaParserListener
ctx
- the parse treepublic void enterDefaultValue(JavaParser.DefaultValueContext ctx)
JavaParser.defaultValue()
.
The default implementation does nothing.
enterDefaultValue
in interface JavaParserListener
ctx
- the parse treepublic void exitDefaultValue(JavaParser.DefaultValueContext ctx)
JavaParser.defaultValue()
.
The default implementation does nothing.
exitDefaultValue
in interface JavaParserListener
ctx
- the parse treepublic void enterBlock(JavaParser.BlockContext ctx)
JavaParser.block()
.
The default implementation does nothing.
enterBlock
in interface JavaParserListener
ctx
- the parse treepublic void exitBlock(JavaParser.BlockContext ctx)
JavaParser.block()
.
The default implementation does nothing.
exitBlock
in interface JavaParserListener
ctx
- the parse treepublic void enterBlockStatement(JavaParser.BlockStatementContext ctx)
JavaParser.blockStatement()
.
The default implementation does nothing.
enterBlockStatement
in interface JavaParserListener
ctx
- the parse treepublic void exitBlockStatement(JavaParser.BlockStatementContext ctx)
JavaParser.blockStatement()
.
The default implementation does nothing.
exitBlockStatement
in interface JavaParserListener
ctx
- the parse treepublic void enterLocalVariableDeclaration(JavaParser.LocalVariableDeclarationContext ctx)
JavaParser.localVariableDeclaration()
.
The default implementation does nothing.
enterLocalVariableDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitLocalVariableDeclaration(JavaParser.LocalVariableDeclarationContext ctx)
JavaParser.localVariableDeclaration()
.
The default implementation does nothing.
exitLocalVariableDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterLocalTypeDeclaration(JavaParser.LocalTypeDeclarationContext ctx)
JavaParser.localTypeDeclaration()
.
The default implementation does nothing.
enterLocalTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void exitLocalTypeDeclaration(JavaParser.LocalTypeDeclarationContext ctx)
JavaParser.localTypeDeclaration()
.
The default implementation does nothing.
exitLocalTypeDeclaration
in interface JavaParserListener
ctx
- the parse treepublic void enterStatement(JavaParser.StatementContext ctx)
JavaParser.statement()
.
The default implementation does nothing.
enterStatement
in interface JavaParserListener
ctx
- the parse treepublic void exitStatement(JavaParser.StatementContext ctx)
JavaParser.statement()
.
The default implementation does nothing.
exitStatement
in interface JavaParserListener
ctx
- the parse treepublic void enterCatchClause(JavaParser.CatchClauseContext ctx)
JavaParser.catchClause()
.
The default implementation does nothing.
enterCatchClause
in interface JavaParserListener
ctx
- the parse treepublic void exitCatchClause(JavaParser.CatchClauseContext ctx)
JavaParser.catchClause()
.
The default implementation does nothing.
exitCatchClause
in interface JavaParserListener
ctx
- the parse treepublic void enterCatchType(JavaParser.CatchTypeContext ctx)
JavaParser.catchType()
.
The default implementation does nothing.
enterCatchType
in interface JavaParserListener
ctx
- the parse treepublic void exitCatchType(JavaParser.CatchTypeContext ctx)
JavaParser.catchType()
.
The default implementation does nothing.
exitCatchType
in interface JavaParserListener
ctx
- the parse treepublic void enterFinallyBlock(JavaParser.FinallyBlockContext ctx)
JavaParser.finallyBlock()
.
The default implementation does nothing.
enterFinallyBlock
in interface JavaParserListener
ctx
- the parse treepublic void exitFinallyBlock(JavaParser.FinallyBlockContext ctx)
JavaParser.finallyBlock()
.
The default implementation does nothing.
exitFinallyBlock
in interface JavaParserListener
ctx
- the parse treepublic void enterResourceSpecification(JavaParser.ResourceSpecificationContext ctx)
JavaParser.resourceSpecification()
.
The default implementation does nothing.
enterResourceSpecification
in interface JavaParserListener
ctx
- the parse treepublic void exitResourceSpecification(JavaParser.ResourceSpecificationContext ctx)
JavaParser.resourceSpecification()
.
The default implementation does nothing.
exitResourceSpecification
in interface JavaParserListener
ctx
- the parse treepublic void enterResources(JavaParser.ResourcesContext ctx)
JavaParser.resources()
.
The default implementation does nothing.
enterResources
in interface JavaParserListener
ctx
- the parse treepublic void exitResources(JavaParser.ResourcesContext ctx)
JavaParser.resources()
.
The default implementation does nothing.
exitResources
in interface JavaParserListener
ctx
- the parse treepublic void enterResource(JavaParser.ResourceContext ctx)
JavaParser.resource()
.
The default implementation does nothing.
enterResource
in interface JavaParserListener
ctx
- the parse treepublic void exitResource(JavaParser.ResourceContext ctx)
JavaParser.resource()
.
The default implementation does nothing.
exitResource
in interface JavaParserListener
ctx
- the parse treepublic void enterSwitchBlockStatementGroup(JavaParser.SwitchBlockStatementGroupContext ctx)
JavaParser.switchBlockStatementGroup()
.
The default implementation does nothing.
enterSwitchBlockStatementGroup
in interface JavaParserListener
ctx
- the parse treepublic void exitSwitchBlockStatementGroup(JavaParser.SwitchBlockStatementGroupContext ctx)
JavaParser.switchBlockStatementGroup()
.
The default implementation does nothing.
exitSwitchBlockStatementGroup
in interface JavaParserListener
ctx
- the parse treepublic void enterSwitchLabel(JavaParser.SwitchLabelContext ctx)
JavaParser.switchLabel()
.
The default implementation does nothing.
enterSwitchLabel
in interface JavaParserListener
ctx
- the parse treepublic void exitSwitchLabel(JavaParser.SwitchLabelContext ctx)
JavaParser.switchLabel()
.
The default implementation does nothing.
exitSwitchLabel
in interface JavaParserListener
ctx
- the parse treepublic void enterForControl(JavaParser.ForControlContext ctx)
JavaParser.forControl()
.
The default implementation does nothing.
enterForControl
in interface JavaParserListener
ctx
- the parse treepublic void exitForControl(JavaParser.ForControlContext ctx)
JavaParser.forControl()
.
The default implementation does nothing.
exitForControl
in interface JavaParserListener
ctx
- the parse treepublic void enterForInit(JavaParser.ForInitContext ctx)
JavaParser.forInit()
.
The default implementation does nothing.
enterForInit
in interface JavaParserListener
ctx
- the parse treepublic void exitForInit(JavaParser.ForInitContext ctx)
JavaParser.forInit()
.
The default implementation does nothing.
exitForInit
in interface JavaParserListener
ctx
- the parse treepublic void enterEnhancedForControl(JavaParser.EnhancedForControlContext ctx)
JavaParser.enhancedForControl()
.
The default implementation does nothing.
enterEnhancedForControl
in interface JavaParserListener
ctx
- the parse treepublic void exitEnhancedForControl(JavaParser.EnhancedForControlContext ctx)
JavaParser.enhancedForControl()
.
The default implementation does nothing.
exitEnhancedForControl
in interface JavaParserListener
ctx
- the parse treepublic void enterParExpression(JavaParser.ParExpressionContext ctx)
JavaParser.parExpression()
.
The default implementation does nothing.
enterParExpression
in interface JavaParserListener
ctx
- the parse treepublic void exitParExpression(JavaParser.ParExpressionContext ctx)
JavaParser.parExpression()
.
The default implementation does nothing.
exitParExpression
in interface JavaParserListener
ctx
- the parse treepublic void enterExpressionList(JavaParser.ExpressionListContext ctx)
JavaParser.expressionList()
.
The default implementation does nothing.
enterExpressionList
in interface JavaParserListener
ctx
- the parse treepublic void exitExpressionList(JavaParser.ExpressionListContext ctx)
JavaParser.expressionList()
.
The default implementation does nothing.
exitExpressionList
in interface JavaParserListener
ctx
- the parse treepublic void enterMethodCall(JavaParser.MethodCallContext ctx)
JavaParser.methodCall()
.
The default implementation does nothing.
enterMethodCall
in interface JavaParserListener
ctx
- the parse treepublic void exitMethodCall(JavaParser.MethodCallContext ctx)
JavaParser.methodCall()
.
The default implementation does nothing.
exitMethodCall
in interface JavaParserListener
ctx
- the parse treepublic void enterConstructorCall(JavaParser.ConstructorCallContext ctx)
JavaParser.constructorCall()
.
The default implementation does nothing.
enterConstructorCall
in interface JavaParserListener
ctx
- the parse treepublic void exitConstructorCall(JavaParser.ConstructorCallContext ctx)
JavaParser.constructorCall()
.
The default implementation does nothing.
exitConstructorCall
in interface JavaParserListener
ctx
- the parse treepublic void enterExpression(JavaParser.ExpressionContext ctx)
JavaParser.expression()
.
The default implementation does nothing.
enterExpression
in interface JavaParserListener
ctx
- the parse treepublic void exitExpression(JavaParser.ExpressionContext ctx)
JavaParser.expression()
.
The default implementation does nothing.
exitExpression
in interface JavaParserListener
ctx
- the parse treepublic void enterLambdaExpression(JavaParser.LambdaExpressionContext ctx)
JavaParser.lambdaExpression()
.
The default implementation does nothing.
enterLambdaExpression
in interface JavaParserListener
ctx
- the parse treepublic void exitLambdaExpression(JavaParser.LambdaExpressionContext ctx)
JavaParser.lambdaExpression()
.
The default implementation does nothing.
exitLambdaExpression
in interface JavaParserListener
ctx
- the parse treepublic void enterLambdaParameters(JavaParser.LambdaParametersContext ctx)
JavaParser.lambdaParameters()
.
The default implementation does nothing.
enterLambdaParameters
in interface JavaParserListener
ctx
- the parse treepublic void exitLambdaParameters(JavaParser.LambdaParametersContext ctx)
JavaParser.lambdaParameters()
.
The default implementation does nothing.
exitLambdaParameters
in interface JavaParserListener
ctx
- the parse treepublic void enterLambdaBody(JavaParser.LambdaBodyContext ctx)
JavaParser.lambdaBody()
.
The default implementation does nothing.
enterLambdaBody
in interface JavaParserListener
ctx
- the parse treepublic void exitLambdaBody(JavaParser.LambdaBodyContext ctx)
JavaParser.lambdaBody()
.
The default implementation does nothing.
exitLambdaBody
in interface JavaParserListener
ctx
- the parse treepublic void enterPrimary(JavaParser.PrimaryContext ctx)
JavaParser.primary()
.
The default implementation does nothing.
enterPrimary
in interface JavaParserListener
ctx
- the parse treepublic void exitPrimary(JavaParser.PrimaryContext ctx)
JavaParser.primary()
.
The default implementation does nothing.
exitPrimary
in interface JavaParserListener
ctx
- the parse treepublic void enterClassType(JavaParser.ClassTypeContext ctx)
JavaParser.classType()
.
The default implementation does nothing.
enterClassType
in interface JavaParserListener
ctx
- the parse treepublic void exitClassType(JavaParser.ClassTypeContext ctx)
JavaParser.classType()
.
The default implementation does nothing.
exitClassType
in interface JavaParserListener
ctx
- the parse treepublic void enterCreator(JavaParser.CreatorContext ctx)
JavaParser.creator()
.
The default implementation does nothing.
enterCreator
in interface JavaParserListener
ctx
- the parse treepublic void exitCreator(JavaParser.CreatorContext ctx)
JavaParser.creator()
.
The default implementation does nothing.
exitCreator
in interface JavaParserListener
ctx
- the parse treepublic void enterCreatedName(JavaParser.CreatedNameContext ctx)
JavaParser.createdName()
.
The default implementation does nothing.
enterCreatedName
in interface JavaParserListener
ctx
- the parse treepublic void exitCreatedName(JavaParser.CreatedNameContext ctx)
JavaParser.createdName()
.
The default implementation does nothing.
exitCreatedName
in interface JavaParserListener
ctx
- the parse treepublic void enterInnerCreator(JavaParser.InnerCreatorContext ctx)
JavaParser.innerCreator()
.
The default implementation does nothing.
enterInnerCreator
in interface JavaParserListener
ctx
- the parse treepublic void exitInnerCreator(JavaParser.InnerCreatorContext ctx)
JavaParser.innerCreator()
.
The default implementation does nothing.
exitInnerCreator
in interface JavaParserListener
ctx
- the parse treepublic void enterArrayCreatorRest(JavaParser.ArrayCreatorRestContext ctx)
JavaParser.arrayCreatorRest()
.
The default implementation does nothing.
enterArrayCreatorRest
in interface JavaParserListener
ctx
- the parse treepublic void exitArrayCreatorRest(JavaParser.ArrayCreatorRestContext ctx)
JavaParser.arrayCreatorRest()
.
The default implementation does nothing.
exitArrayCreatorRest
in interface JavaParserListener
ctx
- the parse treepublic void enterClassCreatorRest(JavaParser.ClassCreatorRestContext ctx)
JavaParser.classCreatorRest()
.
The default implementation does nothing.
enterClassCreatorRest
in interface JavaParserListener
ctx
- the parse treepublic void exitClassCreatorRest(JavaParser.ClassCreatorRestContext ctx)
JavaParser.classCreatorRest()
.
The default implementation does nothing.
exitClassCreatorRest
in interface JavaParserListener
ctx
- the parse treepublic void enterExplicitGenericInvocation(JavaParser.ExplicitGenericInvocationContext ctx)
JavaParser.explicitGenericInvocation()
.
The default implementation does nothing.
enterExplicitGenericInvocation
in interface JavaParserListener
ctx
- the parse treepublic void exitExplicitGenericInvocation(JavaParser.ExplicitGenericInvocationContext ctx)
JavaParser.explicitGenericInvocation()
.
The default implementation does nothing.
exitExplicitGenericInvocation
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeArgumentsOrDiamond(JavaParser.TypeArgumentsOrDiamondContext ctx)
JavaParser.typeArgumentsOrDiamond()
.
The default implementation does nothing.
enterTypeArgumentsOrDiamond
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeArgumentsOrDiamond(JavaParser.TypeArgumentsOrDiamondContext ctx)
JavaParser.typeArgumentsOrDiamond()
.
The default implementation does nothing.
exitTypeArgumentsOrDiamond
in interface JavaParserListener
ctx
- the parse treepublic void enterNonWildcardTypeArgumentsOrDiamond(JavaParser.NonWildcardTypeArgumentsOrDiamondContext ctx)
JavaParser.nonWildcardTypeArgumentsOrDiamond()
.
The default implementation does nothing.
enterNonWildcardTypeArgumentsOrDiamond
in interface JavaParserListener
ctx
- the parse treepublic void exitNonWildcardTypeArgumentsOrDiamond(JavaParser.NonWildcardTypeArgumentsOrDiamondContext ctx)
JavaParser.nonWildcardTypeArgumentsOrDiamond()
.
The default implementation does nothing.
exitNonWildcardTypeArgumentsOrDiamond
in interface JavaParserListener
ctx
- the parse treepublic void enterNonWildcardTypeArguments(JavaParser.NonWildcardTypeArgumentsContext ctx)
JavaParser.nonWildcardTypeArguments()
.
The default implementation does nothing.
enterNonWildcardTypeArguments
in interface JavaParserListener
ctx
- the parse treepublic void exitNonWildcardTypeArguments(JavaParser.NonWildcardTypeArgumentsContext ctx)
JavaParser.nonWildcardTypeArguments()
.
The default implementation does nothing.
exitNonWildcardTypeArguments
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeList(JavaParser.TypeListContext ctx)
JavaParser.typeList()
.
The default implementation does nothing.
enterTypeList
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeList(JavaParser.TypeListContext ctx)
JavaParser.typeList()
.
The default implementation does nothing.
exitTypeList
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeType(JavaParser.TypeTypeContext ctx)
JavaParser.typeType()
.
The default implementation does nothing.
enterTypeType
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeType(JavaParser.TypeTypeContext ctx)
JavaParser.typeType()
.
The default implementation does nothing.
exitTypeType
in interface JavaParserListener
ctx
- the parse treepublic void enterPrimitiveType(JavaParser.PrimitiveTypeContext ctx)
JavaParser.primitiveType()
.
The default implementation does nothing.
enterPrimitiveType
in interface JavaParserListener
ctx
- the parse treepublic void exitPrimitiveType(JavaParser.PrimitiveTypeContext ctx)
JavaParser.primitiveType()
.
The default implementation does nothing.
exitPrimitiveType
in interface JavaParserListener
ctx
- the parse treepublic void enterTypeArguments(JavaParser.TypeArgumentsContext ctx)
JavaParser.typeArguments()
.
The default implementation does nothing.
enterTypeArguments
in interface JavaParserListener
ctx
- the parse treepublic void exitTypeArguments(JavaParser.TypeArgumentsContext ctx)
JavaParser.typeArguments()
.
The default implementation does nothing.
exitTypeArguments
in interface JavaParserListener
ctx
- the parse treepublic void enterSuperSuffix(JavaParser.SuperSuffixContext ctx)
JavaParser.superSuffix()
.
The default implementation does nothing.
enterSuperSuffix
in interface JavaParserListener
ctx
- the parse treepublic void exitSuperSuffix(JavaParser.SuperSuffixContext ctx)
JavaParser.superSuffix()
.
The default implementation does nothing.
exitSuperSuffix
in interface JavaParserListener
ctx
- the parse treepublic void enterExplicitGenericInvocationSuffix(JavaParser.ExplicitGenericInvocationSuffixContext ctx)
JavaParser.explicitGenericInvocationSuffix()
.
The default implementation does nothing.
enterExplicitGenericInvocationSuffix
in interface JavaParserListener
ctx
- the parse treepublic void exitExplicitGenericInvocationSuffix(JavaParser.ExplicitGenericInvocationSuffixContext ctx)
JavaParser.explicitGenericInvocationSuffix()
.
The default implementation does nothing.
exitExplicitGenericInvocationSuffix
in interface JavaParserListener
ctx
- the parse treepublic void enterArguments(JavaParser.ArgumentsContext ctx)
JavaParser.arguments()
.
The default implementation does nothing.
enterArguments
in interface JavaParserListener
ctx
- the parse treepublic void exitArguments(JavaParser.ArgumentsContext ctx)
JavaParser.arguments()
.
The default implementation does nothing.
exitArguments
in interface JavaParserListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.