Class DeclBaseListener
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.decl.grammar.DeclBaseListener
-
- All Implemented Interfaces:
DeclListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class DeclBaseListener extends java.lang.Object implements DeclListener
This class provides an empty implementation ofDeclListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description DeclBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterFieldDescriptor
public void enterFieldDescriptor(DeclParser.FieldDescriptorContext ctx)
Enter a parse tree produced byDeclParser.fieldDescriptor().The default implementation does nothing.
- Specified by:
enterFieldDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitFieldDescriptor
public void exitFieldDescriptor(DeclParser.FieldDescriptorContext ctx)
Exit a parse tree produced byDeclParser.fieldDescriptor().The default implementation does nothing.
- Specified by:
exitFieldDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterDescriptorType
public void enterDescriptorType(DeclParser.DescriptorTypeContext ctx)
Enter a parse tree produced byDeclParser.descriptorType().The default implementation does nothing.
- Specified by:
enterDescriptorTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitDescriptorType
public void exitDescriptorType(DeclParser.DescriptorTypeContext ctx)
Exit a parse tree produced byDeclParser.descriptorType().The default implementation does nothing.
- Specified by:
exitDescriptorTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterBaseType
public void enterBaseType(DeclParser.BaseTypeContext ctx)
Enter a parse tree produced byDeclParser.baseType().The default implementation does nothing.
- Specified by:
enterBaseTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitBaseType
public void exitBaseType(DeclParser.BaseTypeContext ctx)
Exit a parse tree produced byDeclParser.baseType().The default implementation does nothing.
- Specified by:
exitBaseTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterObjectType
public void enterObjectType(DeclParser.ObjectTypeContext ctx)
Enter a parse tree produced byDeclParser.objectType().The default implementation does nothing.
- Specified by:
enterObjectTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitObjectType
public void exitObjectType(DeclParser.ObjectTypeContext ctx)
Exit a parse tree produced byDeclParser.objectType().The default implementation does nothing.
- Specified by:
exitObjectTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassName
public void enterClassName(DeclParser.ClassNameContext ctx)
Enter a parse tree produced byDeclParser.className().The default implementation does nothing.
- Specified by:
enterClassNamein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassName
public void exitClassName(DeclParser.ClassNameContext ctx)
Exit a parse tree produced byDeclParser.className().The default implementation does nothing.
- Specified by:
exitClassNamein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterArrayType
public void enterArrayType(DeclParser.ArrayTypeContext ctx)
Enter a parse tree produced byDeclParser.arrayType().The default implementation does nothing.
- Specified by:
enterArrayTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitArrayType
public void exitArrayType(DeclParser.ArrayTypeContext ctx)
Exit a parse tree produced byDeclParser.arrayType().The default implementation does nothing.
- Specified by:
exitArrayTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterComponentType
public void enterComponentType(DeclParser.ComponentTypeContext ctx)
Enter a parse tree produced byDeclParser.componentType().The default implementation does nothing.
- Specified by:
enterComponentTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitComponentType
public void exitComponentType(DeclParser.ComponentTypeContext ctx)
Exit a parse tree produced byDeclParser.componentType().The default implementation does nothing.
- Specified by:
exitComponentTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterMethodDescriptor
public void enterMethodDescriptor(DeclParser.MethodDescriptorContext ctx)
Enter a parse tree produced byDeclParser.methodDescriptor().The default implementation does nothing.
- Specified by:
enterMethodDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitMethodDescriptor
public void exitMethodDescriptor(DeclParser.MethodDescriptorContext ctx)
Exit a parse tree produced byDeclParser.methodDescriptor().The default implementation does nothing.
- Specified by:
exitMethodDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterParameterDescriptor
public void enterParameterDescriptor(DeclParser.ParameterDescriptorContext ctx)
Enter a parse tree produced byDeclParser.parameterDescriptor().The default implementation does nothing.
- Specified by:
enterParameterDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitParameterDescriptor
public void exitParameterDescriptor(DeclParser.ParameterDescriptorContext ctx)
Exit a parse tree produced byDeclParser.parameterDescriptor().The default implementation does nothing.
- Specified by:
exitParameterDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterReturnDescriptor
public void enterReturnDescriptor(DeclParser.ReturnDescriptorContext ctx)
Enter a parse tree produced byDeclParser.returnDescriptor().The default implementation does nothing.
- Specified by:
enterReturnDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitReturnDescriptor
public void exitReturnDescriptor(DeclParser.ReturnDescriptorContext ctx)
Exit a parse tree produced byDeclParser.returnDescriptor().The default implementation does nothing.
- Specified by:
exitReturnDescriptorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterJavaTypeSignature
public void enterJavaTypeSignature(DeclParser.JavaTypeSignatureContext ctx)
Enter a parse tree produced byDeclParser.javaTypeSignature().The default implementation does nothing.
- Specified by:
enterJavaTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitJavaTypeSignature
public void exitJavaTypeSignature(DeclParser.JavaTypeSignatureContext ctx)
Exit a parse tree produced byDeclParser.javaTypeSignature().The default implementation does nothing.
- Specified by:
exitJavaTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterReferenceTypeSignature
public void enterReferenceTypeSignature(DeclParser.ReferenceTypeSignatureContext ctx)
Enter a parse tree produced byDeclParser.referenceTypeSignature().The default implementation does nothing.
- Specified by:
enterReferenceTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitReferenceTypeSignature
public void exitReferenceTypeSignature(DeclParser.ReferenceTypeSignatureContext ctx)
Exit a parse tree produced byDeclParser.referenceTypeSignature().The default implementation does nothing.
- Specified by:
exitReferenceTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassTypeSignature
public void enterClassTypeSignature(DeclParser.ClassTypeSignatureContext ctx)
Enter a parse tree produced byDeclParser.classTypeSignature().The default implementation does nothing.
- Specified by:
enterClassTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassTypeSignature
public void exitClassTypeSignature(DeclParser.ClassTypeSignatureContext ctx)
Exit a parse tree produced byDeclParser.classTypeSignature().The default implementation does nothing.
- Specified by:
exitClassTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassTypeName
public void enterClassTypeName(DeclParser.ClassTypeNameContext ctx)
Enter a parse tree produced byDeclParser.classTypeName().The default implementation does nothing.
- Specified by:
enterClassTypeNamein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassTypeName
public void exitClassTypeName(DeclParser.ClassTypeNameContext ctx)
Exit a parse tree produced byDeclParser.classTypeName().The default implementation does nothing.
- Specified by:
exitClassTypeNamein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterPackageSpecifier
public void enterPackageSpecifier(DeclParser.PackageSpecifierContext ctx)
Enter a parse tree produced byDeclParser.packageSpecifier().The default implementation does nothing.
- Specified by:
enterPackageSpecifierin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitPackageSpecifier
public void exitPackageSpecifier(DeclParser.PackageSpecifierContext ctx)
Exit a parse tree produced byDeclParser.packageSpecifier().The default implementation does nothing.
- Specified by:
exitPackageSpecifierin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterIdentifier
public void enterIdentifier(DeclParser.IdentifierContext ctx)
Enter a parse tree produced byDeclParser.identifier().The default implementation does nothing.
- Specified by:
enterIdentifierin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitIdentifier
public void exitIdentifier(DeclParser.IdentifierContext ctx)
Exit a parse tree produced byDeclParser.identifier().The default implementation does nothing.
- Specified by:
exitIdentifierin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterTypeArguments
public void enterTypeArguments(DeclParser.TypeArgumentsContext ctx)
Enter a parse tree produced byDeclParser.typeArguments().The default implementation does nothing.
- Specified by:
enterTypeArgumentsin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitTypeArguments
public void exitTypeArguments(DeclParser.TypeArgumentsContext ctx)
Exit a parse tree produced byDeclParser.typeArguments().The default implementation does nothing.
- Specified by:
exitTypeArgumentsin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterTypeArgument
public void enterTypeArgument(DeclParser.TypeArgumentContext ctx)
Enter a parse tree produced byDeclParser.typeArgument().The default implementation does nothing.
- Specified by:
enterTypeArgumentin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitTypeArgument
public void exitTypeArgument(DeclParser.TypeArgumentContext ctx)
Exit a parse tree produced byDeclParser.typeArgument().The default implementation does nothing.
- Specified by:
exitTypeArgumentin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterWildcardIndicator
public void enterWildcardIndicator(DeclParser.WildcardIndicatorContext ctx)
Enter a parse tree produced byDeclParser.wildcardIndicator().The default implementation does nothing.
- Specified by:
enterWildcardIndicatorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitWildcardIndicator
public void exitWildcardIndicator(DeclParser.WildcardIndicatorContext ctx)
Exit a parse tree produced byDeclParser.wildcardIndicator().The default implementation does nothing.
- Specified by:
exitWildcardIndicatorin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassTypeSignatureSuffix
public void enterClassTypeSignatureSuffix(DeclParser.ClassTypeSignatureSuffixContext ctx)
Enter a parse tree produced byDeclParser.classTypeSignatureSuffix().The default implementation does nothing.
- Specified by:
enterClassTypeSignatureSuffixin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassTypeSignatureSuffix
public void exitClassTypeSignatureSuffix(DeclParser.ClassTypeSignatureSuffixContext ctx)
Exit a parse tree produced byDeclParser.classTypeSignatureSuffix().The default implementation does nothing.
- Specified by:
exitClassTypeSignatureSuffixin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterTypeVariableSignature
public void enterTypeVariableSignature(DeclParser.TypeVariableSignatureContext ctx)
Enter a parse tree produced byDeclParser.typeVariableSignature().The default implementation does nothing.
- Specified by:
enterTypeVariableSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitTypeVariableSignature
public void exitTypeVariableSignature(DeclParser.TypeVariableSignatureContext ctx)
Exit a parse tree produced byDeclParser.typeVariableSignature().The default implementation does nothing.
- Specified by:
exitTypeVariableSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterArrayTypeSignature
public void enterArrayTypeSignature(DeclParser.ArrayTypeSignatureContext ctx)
Enter a parse tree produced byDeclParser.arrayTypeSignature().The default implementation does nothing.
- Specified by:
enterArrayTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitArrayTypeSignature
public void exitArrayTypeSignature(DeclParser.ArrayTypeSignatureContext ctx)
Exit a parse tree produced byDeclParser.arrayTypeSignature().The default implementation does nothing.
- Specified by:
exitArrayTypeSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassSignature
public void enterClassSignature(DeclParser.ClassSignatureContext ctx)
Enter a parse tree produced byDeclParser.classSignature().The default implementation does nothing.
- Specified by:
enterClassSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassSignature
public void exitClassSignature(DeclParser.ClassSignatureContext ctx)
Exit a parse tree produced byDeclParser.classSignature().The default implementation does nothing.
- Specified by:
exitClassSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterTypeParameters
public void enterTypeParameters(DeclParser.TypeParametersContext ctx)
Enter a parse tree produced byDeclParser.typeParameters().The default implementation does nothing.
- Specified by:
enterTypeParametersin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitTypeParameters
public void exitTypeParameters(DeclParser.TypeParametersContext ctx)
Exit a parse tree produced byDeclParser.typeParameters().The default implementation does nothing.
- Specified by:
exitTypeParametersin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterTypeParameter
public void enterTypeParameter(DeclParser.TypeParameterContext ctx)
Enter a parse tree produced byDeclParser.typeParameter().The default implementation does nothing.
- Specified by:
enterTypeParameterin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitTypeParameter
public void exitTypeParameter(DeclParser.TypeParameterContext ctx)
Exit a parse tree produced byDeclParser.typeParameter().The default implementation does nothing.
- Specified by:
exitTypeParameterin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterClassBound
public void enterClassBound(DeclParser.ClassBoundContext ctx)
Enter a parse tree produced byDeclParser.classBound().The default implementation does nothing.
- Specified by:
enterClassBoundin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitClassBound
public void exitClassBound(DeclParser.ClassBoundContext ctx)
Exit a parse tree produced byDeclParser.classBound().The default implementation does nothing.
- Specified by:
exitClassBoundin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterInterfaceBound
public void enterInterfaceBound(DeclParser.InterfaceBoundContext ctx)
Enter a parse tree produced byDeclParser.interfaceBound().The default implementation does nothing.
- Specified by:
enterInterfaceBoundin interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitInterfaceBound
public void exitInterfaceBound(DeclParser.InterfaceBoundContext ctx)
Exit a parse tree produced byDeclParser.interfaceBound().The default implementation does nothing.
- Specified by:
exitInterfaceBoundin interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterSuperClassSignature
public void enterSuperClassSignature(DeclParser.SuperClassSignatureContext ctx)
Enter a parse tree produced byDeclParser.superClassSignature().The default implementation does nothing.
- Specified by:
enterSuperClassSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitSuperClassSignature
public void exitSuperClassSignature(DeclParser.SuperClassSignatureContext ctx)
Exit a parse tree produced byDeclParser.superClassSignature().The default implementation does nothing.
- Specified by:
exitSuperClassSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterSuperInterfaceSignature
public void enterSuperInterfaceSignature(DeclParser.SuperInterfaceSignatureContext ctx)
Enter a parse tree produced byDeclParser.superInterfaceSignature().The default implementation does nothing.
- Specified by:
enterSuperInterfaceSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitSuperInterfaceSignature
public void exitSuperInterfaceSignature(DeclParser.SuperInterfaceSignatureContext ctx)
Exit a parse tree produced byDeclParser.superInterfaceSignature().The default implementation does nothing.
- Specified by:
exitSuperInterfaceSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterMethodSignature
public void enterMethodSignature(DeclParser.MethodSignatureContext ctx)
Enter a parse tree produced byDeclParser.methodSignature().The default implementation does nothing.
- Specified by:
enterMethodSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitMethodSignature
public void exitMethodSignature(DeclParser.MethodSignatureContext ctx)
Exit a parse tree produced byDeclParser.methodSignature().The default implementation does nothing.
- Specified by:
exitMethodSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterReturnType
public void enterReturnType(DeclParser.ReturnTypeContext ctx)
Enter a parse tree produced byDeclParser.returnType().The default implementation does nothing.
- Specified by:
enterReturnTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitReturnType
public void exitReturnType(DeclParser.ReturnTypeContext ctx)
Exit a parse tree produced byDeclParser.returnType().The default implementation does nothing.
- Specified by:
exitReturnTypein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterThrowsSignature
public void enterThrowsSignature(DeclParser.ThrowsSignatureContext ctx)
Enter a parse tree produced byDeclParser.throwsSignature().The default implementation does nothing.
- Specified by:
enterThrowsSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitThrowsSignature
public void exitThrowsSignature(DeclParser.ThrowsSignatureContext ctx)
Exit a parse tree produced byDeclParser.throwsSignature().The default implementation does nothing.
- Specified by:
exitThrowsSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterFieldSignature
public void enterFieldSignature(DeclParser.FieldSignatureContext ctx)
Enter a parse tree produced byDeclParser.fieldSignature().The default implementation does nothing.
- Specified by:
enterFieldSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
exitFieldSignature
public void exitFieldSignature(DeclParser.FieldSignatureContext ctx)
Exit a parse tree produced byDeclParser.fieldSignature().The default implementation does nothing.
- Specified by:
exitFieldSignaturein interfaceDeclListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-