Class CocoBaseListener
- java.lang.Object
-
- net.sourceforge.pmd.lang.coco.ast.CocoBaseListener
-
- All Implemented Interfaces:
CocoListener
,org.antlr.v4.runtime.tree.ParseTreeListener
public class CocoBaseListener extends Object implements CocoListener
This class provides an empty implementation ofCocoListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description CocoBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterModule
public void enterModule(CocoParser.ModuleContext ctx)
Enter a parse tree produced byCocoParser.module()
.The default implementation does nothing.
- Specified by:
enterModule
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitModule
public void exitModule(CocoParser.ModuleContext ctx)
Exit a parse tree produced byCocoParser.module()
.The default implementation does nothing.
- Specified by:
exitModule
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterDeclaration
public void enterDeclaration(CocoParser.DeclarationContext ctx)
Enter a parse tree produced byCocoParser.declaration()
.The default implementation does nothing.
- Specified by:
enterDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitDeclaration
public void exitDeclaration(CocoParser.DeclarationContext ctx)
Exit a parse tree produced byCocoParser.declaration()
.The default implementation does nothing.
- Specified by:
exitDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterAttribute
public void enterAttribute(CocoParser.AttributeContext ctx)
Enter a parse tree produced byCocoParser.attribute()
.The default implementation does nothing.
- Specified by:
enterAttribute
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitAttribute
public void exitAttribute(CocoParser.AttributeContext ctx)
Exit a parse tree produced byCocoParser.attribute()
.The default implementation does nothing.
- Specified by:
exitAttribute
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterAttributeDeclaration
public void enterAttributeDeclaration(CocoParser.AttributeDeclarationContext ctx)
Enter a parse tree produced byCocoParser.attributeDeclaration()
.The default implementation does nothing.
- Specified by:
enterAttributeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitAttributeDeclaration
public void exitAttributeDeclaration(CocoParser.AttributeDeclarationContext ctx)
Exit a parse tree produced byCocoParser.attributeDeclaration()
.The default implementation does nothing.
- Specified by:
exitAttributeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterImportDeclaration
public void enterImportDeclaration(CocoParser.ImportDeclarationContext ctx)
Enter a parse tree produced byCocoParser.importDeclaration()
.The default implementation does nothing.
- Specified by:
enterImportDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitImportDeclaration
public void exitImportDeclaration(CocoParser.ImportDeclarationContext ctx)
Exit a parse tree produced byCocoParser.importDeclaration()
.The default implementation does nothing.
- Specified by:
exitImportDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterVariableDeclaration
public void enterVariableDeclaration(CocoParser.VariableDeclarationContext ctx)
Enter a parse tree produced byCocoParser.variableDeclaration()
.The default implementation does nothing.
- Specified by:
enterVariableDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitVariableDeclaration
public void exitVariableDeclaration(CocoParser.VariableDeclarationContext ctx)
Exit a parse tree produced byCocoParser.variableDeclaration()
.The default implementation does nothing.
- Specified by:
exitVariableDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEnumDeclaration
public void enterEnumDeclaration(CocoParser.EnumDeclarationContext ctx)
Enter a parse tree produced byCocoParser.enumDeclaration()
.The default implementation does nothing.
- Specified by:
enterEnumDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEnumDeclaration
public void exitEnumDeclaration(CocoParser.EnumDeclarationContext ctx)
Exit a parse tree produced byCocoParser.enumDeclaration()
.The default implementation does nothing.
- Specified by:
exitEnumDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStructDeclaration
public void enterStructDeclaration(CocoParser.StructDeclarationContext ctx)
Enter a parse tree produced byCocoParser.structDeclaration()
.The default implementation does nothing.
- Specified by:
enterStructDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStructDeclaration
public void exitStructDeclaration(CocoParser.StructDeclarationContext ctx)
Exit a parse tree produced byCocoParser.structDeclaration()
.The default implementation does nothing.
- Specified by:
exitStructDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTypeAliasDeclaration
public void enterTypeAliasDeclaration(CocoParser.TypeAliasDeclarationContext ctx)
Enter a parse tree produced byCocoParser.typeAliasDeclaration()
.The default implementation does nothing.
- Specified by:
enterTypeAliasDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTypeAliasDeclaration
public void exitTypeAliasDeclaration(CocoParser.TypeAliasDeclarationContext ctx)
Exit a parse tree produced byCocoParser.typeAliasDeclaration()
.The default implementation does nothing.
- Specified by:
exitTypeAliasDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFunctionDeclaration
public void enterFunctionDeclaration(CocoParser.FunctionDeclarationContext ctx)
Enter a parse tree produced byCocoParser.functionDeclaration()
.The default implementation does nothing.
- Specified by:
enterFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFunctionDeclaration
public void exitFunctionDeclaration(CocoParser.FunctionDeclarationContext ctx)
Exit a parse tree produced byCocoParser.functionDeclaration()
.The default implementation does nothing.
- Specified by:
exitFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterInstanceDeclaration
public void enterInstanceDeclaration(CocoParser.InstanceDeclarationContext ctx)
Enter a parse tree produced byCocoParser.instanceDeclaration()
.The default implementation does nothing.
- Specified by:
enterInstanceDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitInstanceDeclaration
public void exitInstanceDeclaration(CocoParser.InstanceDeclarationContext ctx)
Exit a parse tree produced byCocoParser.instanceDeclaration()
.The default implementation does nothing.
- Specified by:
exitInstanceDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterPortDeclaration
public void enterPortDeclaration(CocoParser.PortDeclarationContext ctx)
Enter a parse tree produced byCocoParser.portDeclaration()
.The default implementation does nothing.
- Specified by:
enterPortDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitPortDeclaration
public void exitPortDeclaration(CocoParser.PortDeclarationContext ctx)
Exit a parse tree produced byCocoParser.portDeclaration()
.The default implementation does nothing.
- Specified by:
exitPortDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterComponentDeclaration
public void enterComponentDeclaration(CocoParser.ComponentDeclarationContext ctx)
Enter a parse tree produced byCocoParser.componentDeclaration()
.The default implementation does nothing.
- Specified by:
enterComponentDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitComponentDeclaration
public void exitComponentDeclaration(CocoParser.ComponentDeclarationContext ctx)
Exit a parse tree produced byCocoParser.componentDeclaration()
.The default implementation does nothing.
- Specified by:
exitComponentDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalConstantDeclaration
public void enterExternalConstantDeclaration(CocoParser.ExternalConstantDeclarationContext ctx)
Enter a parse tree produced byCocoParser.externalConstantDeclaration()
.The default implementation does nothing.
- Specified by:
enterExternalConstantDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalConstantDeclaration
public void exitExternalConstantDeclaration(CocoParser.ExternalConstantDeclarationContext ctx)
Exit a parse tree produced byCocoParser.externalConstantDeclaration()
.The default implementation does nothing.
- Specified by:
exitExternalConstantDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalTypeDeclaration
public void enterExternalTypeDeclaration(CocoParser.ExternalTypeDeclarationContext ctx)
Enter a parse tree produced byCocoParser.externalTypeDeclaration()
.The default implementation does nothing.
- Specified by:
enterExternalTypeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalTypeDeclaration
public void exitExternalTypeDeclaration(CocoParser.ExternalTypeDeclarationContext ctx)
Exit a parse tree produced byCocoParser.externalTypeDeclaration()
.The default implementation does nothing.
- Specified by:
exitExternalTypeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalTypeElement
public void enterExternalTypeElement(CocoParser.ExternalTypeElementContext ctx)
Enter a parse tree produced byCocoParser.externalTypeElement()
.The default implementation does nothing.
- Specified by:
enterExternalTypeElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalTypeElement
public void exitExternalTypeElement(CocoParser.ExternalTypeElementContext ctx)
Exit a parse tree produced byCocoParser.externalTypeElement()
.The default implementation does nothing.
- Specified by:
exitExternalTypeElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalFunctionDeclaration
public void enterExternalFunctionDeclaration(CocoParser.ExternalFunctionDeclarationContext ctx)
Enter a parse tree produced byCocoParser.externalFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
enterExternalFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalFunctionDeclaration
public void exitExternalFunctionDeclaration(CocoParser.ExternalFunctionDeclarationContext ctx)
Exit a parse tree produced byCocoParser.externalFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
exitExternalFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterGenericTypeDeclaration
public void enterGenericTypeDeclaration(CocoParser.GenericTypeDeclarationContext ctx)
Enter a parse tree produced byCocoParser.genericTypeDeclaration()
.The default implementation does nothing.
- Specified by:
enterGenericTypeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitGenericTypeDeclaration
public void exitGenericTypeDeclaration(CocoParser.GenericTypeDeclarationContext ctx)
Exit a parse tree produced byCocoParser.genericTypeDeclaration()
.The default implementation does nothing.
- Specified by:
exitGenericTypeDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterGenericTypes
public void enterGenericTypes(CocoParser.GenericTypesContext ctx)
Enter a parse tree produced byCocoParser.genericTypes()
.The default implementation does nothing.
- Specified by:
enterGenericTypes
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitGenericTypes
public void exitGenericTypes(CocoParser.GenericTypesContext ctx)
Exit a parse tree produced byCocoParser.genericTypes()
.The default implementation does nothing.
- Specified by:
exitGenericTypes
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterGenericType
public void enterGenericType(CocoParser.GenericTypeContext ctx)
Enter a parse tree produced byCocoParser.genericType()
.The default implementation does nothing.
- Specified by:
enterGenericType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitGenericType
public void exitGenericType(CocoParser.GenericTypeContext ctx)
Exit a parse tree produced byCocoParser.genericType()
.The default implementation does nothing.
- Specified by:
exitGenericType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEnumElement
public void enterEnumElement(CocoParser.EnumElementContext ctx)
Enter a parse tree produced byCocoParser.enumElement()
.The default implementation does nothing.
- Specified by:
enterEnumElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEnumElement
public void exitEnumElement(CocoParser.EnumElementContext ctx)
Exit a parse tree produced byCocoParser.enumElement()
.The default implementation does nothing.
- Specified by:
exitEnumElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEnumCase
public void enterEnumCase(CocoParser.EnumCaseContext ctx)
Enter a parse tree produced byCocoParser.enumCase()
.The default implementation does nothing.
- Specified by:
enterEnumCase
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEnumCase
public void exitEnumCase(CocoParser.EnumCaseContext ctx)
Exit a parse tree produced byCocoParser.enumCase()
.The default implementation does nothing.
- Specified by:
exitEnumCase
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterCaseParameters
public void enterCaseParameters(CocoParser.CaseParametersContext ctx)
Enter a parse tree produced byCocoParser.caseParameters()
.The default implementation does nothing.
- Specified by:
enterCaseParameters
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitCaseParameters
public void exitCaseParameters(CocoParser.CaseParametersContext ctx)
Exit a parse tree produced byCocoParser.caseParameters()
.The default implementation does nothing.
- Specified by:
exitCaseParameters
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterCaseParameter
public void enterCaseParameter(CocoParser.CaseParameterContext ctx)
Enter a parse tree produced byCocoParser.caseParameter()
.The default implementation does nothing.
- Specified by:
enterCaseParameter
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitCaseParameter
public void exitCaseParameter(CocoParser.CaseParameterContext ctx)
Exit a parse tree produced byCocoParser.caseParameter()
.The default implementation does nothing.
- Specified by:
exitCaseParameter
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStructElement
public void enterStructElement(CocoParser.StructElementContext ctx)
Enter a parse tree produced byCocoParser.structElement()
.The default implementation does nothing.
- Specified by:
enterStructElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStructElement
public void exitStructElement(CocoParser.StructElementContext ctx)
Exit a parse tree produced byCocoParser.structElement()
.The default implementation does nothing.
- Specified by:
exitStructElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFieldDeclaration
public void enterFieldDeclaration(CocoParser.FieldDeclarationContext ctx)
Enter a parse tree produced byCocoParser.fieldDeclaration()
.The default implementation does nothing.
- Specified by:
enterFieldDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFieldDeclaration
public void exitFieldDeclaration(CocoParser.FieldDeclarationContext ctx)
Exit a parse tree produced byCocoParser.fieldDeclaration()
.The default implementation does nothing.
- Specified by:
exitFieldDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterComponentElement
public void enterComponentElement(CocoParser.ComponentElementContext ctx)
Enter a parse tree produced byCocoParser.componentElement()
.The default implementation does nothing.
- Specified by:
enterComponentElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitComponentElement
public void exitComponentElement(CocoParser.ComponentElementContext ctx)
Exit a parse tree produced byCocoParser.componentElement()
.The default implementation does nothing.
- Specified by:
exitComponentElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStaticMemberDeclaration
public void enterStaticMemberDeclaration(CocoParser.StaticMemberDeclarationContext ctx)
Enter a parse tree produced byCocoParser.staticMemberDeclaration()
.The default implementation does nothing.
- Specified by:
enterStaticMemberDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStaticMemberDeclaration
public void exitStaticMemberDeclaration(CocoParser.StaticMemberDeclarationContext ctx)
Exit a parse tree produced byCocoParser.staticMemberDeclaration()
.The default implementation does nothing.
- Specified by:
exitStaticMemberDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterConstructorDeclaration
public void enterConstructorDeclaration(CocoParser.ConstructorDeclarationContext ctx)
Enter a parse tree produced byCocoParser.constructorDeclaration()
.The default implementation does nothing.
- Specified by:
enterConstructorDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitConstructorDeclaration
public void exitConstructorDeclaration(CocoParser.ConstructorDeclarationContext ctx)
Exit a parse tree produced byCocoParser.constructorDeclaration()
.The default implementation does nothing.
- Specified by:
exitConstructorDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterIfExpression
public void enterIfExpression(CocoParser.IfExpressionContext ctx)
Enter a parse tree produced by theIfExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterIfExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitIfExpression
public void exitIfExpression(CocoParser.IfExpressionContext ctx)
Exit a parse tree produced by theIfExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitIfExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTryOperatorExpression
public void enterTryOperatorExpression(CocoParser.TryOperatorExpressionContext ctx)
Enter a parse tree produced by theTryOperatorExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterTryOperatorExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTryOperatorExpression
public void exitTryOperatorExpression(CocoParser.TryOperatorExpressionContext ctx)
Exit a parse tree produced by theTryOperatorExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitTryOperatorExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterUnaryOperatorExpression
public void enterUnaryOperatorExpression(CocoParser.UnaryOperatorExpressionContext ctx)
Enter a parse tree produced by theUnaryOperatorExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterUnaryOperatorExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitUnaryOperatorExpression
public void exitUnaryOperatorExpression(CocoParser.UnaryOperatorExpressionContext ctx)
Exit a parse tree produced by theUnaryOperatorExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitUnaryOperatorExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterOptionalExpression
public void enterOptionalExpression(CocoParser.OptionalExpressionContext ctx)
Enter a parse tree produced by theOptionalExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterOptionalExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitOptionalExpression
public void exitOptionalExpression(CocoParser.OptionalExpressionContext ctx)
Exit a parse tree produced by theOptionalExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitOptionalExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterArithmicOrLogicalExpression
public void enterArithmicOrLogicalExpression(CocoParser.ArithmicOrLogicalExpressionContext ctx)
Enter a parse tree produced by theArithmicOrLogicalExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterArithmicOrLogicalExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitArithmicOrLogicalExpression
public void exitArithmicOrLogicalExpression(CocoParser.ArithmicOrLogicalExpressionContext ctx)
Exit a parse tree produced by theArithmicOrLogicalExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitArithmicOrLogicalExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterLiteralExpression
public void enterLiteralExpression(CocoParser.LiteralExpressionContext ctx)
Enter a parse tree produced by theLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitLiteralExpression
public void exitLiteralExpression(CocoParser.LiteralExpressionContext ctx)
Exit a parse tree produced by theLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterArrayLiteralExpression
public void enterArrayLiteralExpression(CocoParser.ArrayLiteralExpressionContext ctx)
Enter a parse tree produced by theArrayLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterArrayLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitArrayLiteralExpression
public void exitArrayLiteralExpression(CocoParser.ArrayLiteralExpressionContext ctx)
Exit a parse tree produced by theArrayLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitArrayLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterNondetExpression
public void enterNondetExpression(CocoParser.NondetExpressionContext ctx)
Enter a parse tree produced by theNondetExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterNondetExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitNondetExpression
public void exitNondetExpression(CocoParser.NondetExpressionContext ctx)
Exit a parse tree produced by theNondetExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitNondetExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterGroupedExpression
public void enterGroupedExpression(CocoParser.GroupedExpressionContext ctx)
Enter a parse tree produced by theGroupedExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterGroupedExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitGroupedExpression
public void exitGroupedExpression(CocoParser.GroupedExpressionContext ctx)
Exit a parse tree produced by theGroupedExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitGroupedExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterBlockExpression
public void enterBlockExpression(CocoParser.BlockExpressionContext ctx)
Enter a parse tree produced by theBlockExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterBlockExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitBlockExpression
public void exitBlockExpression(CocoParser.BlockExpressionContext ctx)
Exit a parse tree produced by theBlockExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitBlockExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterMatchExpression
public void enterMatchExpression(CocoParser.MatchExpressionContext ctx)
Enter a parse tree produced by theMatchExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterMatchExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitMatchExpression
public void exitMatchExpression(CocoParser.MatchExpressionContext ctx)
Exit a parse tree produced by theMatchExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitMatchExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStructLiteralExpression
public void enterStructLiteralExpression(CocoParser.StructLiteralExpressionContext ctx)
Enter a parse tree produced by theStructLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterStructLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStructLiteralExpression
public void exitStructLiteralExpression(CocoParser.StructLiteralExpressionContext ctx)
Exit a parse tree produced by theStructLiteralExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitStructLiteralExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterMemberReferenceExpression
public void enterMemberReferenceExpression(CocoParser.MemberReferenceExpressionContext ctx)
Enter a parse tree produced by theMemberReferenceExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterMemberReferenceExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitMemberReferenceExpression
public void exitMemberReferenceExpression(CocoParser.MemberReferenceExpressionContext ctx)
Exit a parse tree produced by theMemberReferenceExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitMemberReferenceExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterAssignmentExpression
public void enterAssignmentExpression(CocoParser.AssignmentExpressionContext ctx)
Enter a parse tree produced by theAssignmentExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterAssignmentExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitAssignmentExpression
public void exitAssignmentExpression(CocoParser.AssignmentExpressionContext ctx)
Exit a parse tree produced by theAssignmentExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitAssignmentExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterVariableReferenceExpression
public void enterVariableReferenceExpression(CocoParser.VariableReferenceExpressionContext ctx)
Enter a parse tree produced by theVariableReferenceExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterVariableReferenceExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitVariableReferenceExpression
public void exitVariableReferenceExpression(CocoParser.VariableReferenceExpressionContext ctx)
Exit a parse tree produced by theVariableReferenceExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitVariableReferenceExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterImplicitMemberExpression
public void enterImplicitMemberExpression(CocoParser.ImplicitMemberExpressionContext ctx)
Enter a parse tree produced by theImplicitMemberExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterImplicitMemberExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitImplicitMemberExpression
public void exitImplicitMemberExpression(CocoParser.ImplicitMemberExpressionContext ctx)
Exit a parse tree produced by theImplicitMemberExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitImplicitMemberExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalFunction
public void enterExternalFunction(CocoParser.ExternalFunctionContext ctx)
Enter a parse tree produced by theExternalFunction
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterExternalFunction
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalFunction
public void exitExternalFunction(CocoParser.ExternalFunctionContext ctx)
Exit a parse tree produced by theExternalFunction
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitExternalFunction
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterCastExpression
public void enterCastExpression(CocoParser.CastExpressionContext ctx)
Enter a parse tree produced by theCastExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterCastExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitCastExpression
public void exitCastExpression(CocoParser.CastExpressionContext ctx)
Exit a parse tree produced by theCastExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitCastExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStateInvariantExpression
public void enterStateInvariantExpression(CocoParser.StateInvariantExpressionContext ctx)
Enter a parse tree produced by theStateInvariantExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterStateInvariantExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStateInvariantExpression
public void exitStateInvariantExpression(CocoParser.StateInvariantExpressionContext ctx)
Exit a parse tree produced by theStateInvariantExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitStateInvariantExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterCallExpression
public void enterCallExpression(CocoParser.CallExpressionContext ctx)
Enter a parse tree produced by theCallExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterCallExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitCallExpression
public void exitCallExpression(CocoParser.CallExpressionContext ctx)
Exit a parse tree produced by theCallExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitCallExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExternalLiteral
public void enterExternalLiteral(CocoParser.ExternalLiteralContext ctx)
Enter a parse tree produced by theExternalLiteral
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterExternalLiteral
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExternalLiteral
public void exitExternalLiteral(CocoParser.ExternalLiteralContext ctx)
Exit a parse tree produced by theExternalLiteral
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitExternalLiteral
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterArraySubscriptExpression
public void enterArraySubscriptExpression(CocoParser.ArraySubscriptExpressionContext ctx)
Enter a parse tree produced by theArraySubscriptExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
enterArraySubscriptExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitArraySubscriptExpression
public void exitArraySubscriptExpression(CocoParser.ArraySubscriptExpressionContext ctx)
Exit a parse tree produced by theArraySubscriptExpression
labeled alternative inCocoParser.expression()
.The default implementation does nothing.
- Specified by:
exitArraySubscriptExpression
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterBlockExpression_
public void enterBlockExpression_(CocoParser.BlockExpression_Context ctx)
Enter a parse tree produced byCocoParser.blockExpression_()
.The default implementation does nothing.
- Specified by:
enterBlockExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitBlockExpression_
public void exitBlockExpression_(CocoParser.BlockExpression_Context ctx)
Exit a parse tree produced byCocoParser.blockExpression_()
.The default implementation does nothing.
- Specified by:
exitBlockExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterIfExpression_
public void enterIfExpression_(CocoParser.IfExpression_Context ctx)
Enter a parse tree produced byCocoParser.ifExpression_()
.The default implementation does nothing.
- Specified by:
enterIfExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitIfExpression_
public void exitIfExpression_(CocoParser.IfExpression_Context ctx)
Exit a parse tree produced byCocoParser.ifExpression_()
.The default implementation does nothing.
- Specified by:
exitIfExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterMatchExpression_
public void enterMatchExpression_(CocoParser.MatchExpression_Context ctx)
Enter a parse tree produced byCocoParser.matchExpression_()
.The default implementation does nothing.
- Specified by:
enterMatchExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitMatchExpression_
public void exitMatchExpression_(CocoParser.MatchExpression_Context ctx)
Exit a parse tree produced byCocoParser.matchExpression_()
.The default implementation does nothing.
- Specified by:
exitMatchExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterNondetExpression_
public void enterNondetExpression_(CocoParser.NondetExpression_Context ctx)
Enter a parse tree produced byCocoParser.nondetExpression_()
.The default implementation does nothing.
- Specified by:
enterNondetExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitNondetExpression_
public void exitNondetExpression_(CocoParser.NondetExpression_Context ctx)
Exit a parse tree produced byCocoParser.nondetExpression_()
.The default implementation does nothing.
- Specified by:
exitNondetExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFieldAssignments
public void enterFieldAssignments(CocoParser.FieldAssignmentsContext ctx)
Enter a parse tree produced byCocoParser.fieldAssignments()
.The default implementation does nothing.
- Specified by:
enterFieldAssignments
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFieldAssignments
public void exitFieldAssignments(CocoParser.FieldAssignmentsContext ctx)
Exit a parse tree produced byCocoParser.fieldAssignments()
.The default implementation does nothing.
- Specified by:
exitFieldAssignments
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFieldAssignment
public void enterFieldAssignment(CocoParser.FieldAssignmentContext ctx)
Enter a parse tree produced byCocoParser.fieldAssignment()
.The default implementation does nothing.
- Specified by:
enterFieldAssignment
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFieldAssignment
public void exitFieldAssignment(CocoParser.FieldAssignmentContext ctx)
Exit a parse tree produced byCocoParser.fieldAssignment()
.The default implementation does nothing.
- Specified by:
exitFieldAssignment
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterNondetClauses
public void enterNondetClauses(CocoParser.NondetClausesContext ctx)
Enter a parse tree produced byCocoParser.nondetClauses()
.The default implementation does nothing.
- Specified by:
enterNondetClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitNondetClauses
public void exitNondetClauses(CocoParser.NondetClausesContext ctx)
Exit a parse tree produced byCocoParser.nondetClauses()
.The default implementation does nothing.
- Specified by:
exitNondetClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterNondetClause
public void enterNondetClause(CocoParser.NondetClauseContext ctx)
Enter a parse tree produced byCocoParser.nondetClause()
.The default implementation does nothing.
- Specified by:
enterNondetClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitNondetClause
public void exitNondetClause(CocoParser.NondetClauseContext ctx)
Exit a parse tree produced byCocoParser.nondetClause()
.The default implementation does nothing.
- Specified by:
exitNondetClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterMatchClauses
public void enterMatchClauses(CocoParser.MatchClausesContext ctx)
Enter a parse tree produced byCocoParser.matchClauses()
.The default implementation does nothing.
- Specified by:
enterMatchClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitMatchClauses
public void exitMatchClauses(CocoParser.MatchClausesContext ctx)
Exit a parse tree produced byCocoParser.matchClauses()
.The default implementation does nothing.
- Specified by:
exitMatchClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterMatchClause
public void enterMatchClause(CocoParser.MatchClauseContext ctx)
Enter a parse tree produced byCocoParser.matchClause()
.The default implementation does nothing.
- Specified by:
enterMatchClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitMatchClause
public void exitMatchClause(CocoParser.MatchClauseContext ctx)
Exit a parse tree produced byCocoParser.matchClause()
.The default implementation does nothing.
- Specified by:
exitMatchClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterPattern
public void enterPattern(CocoParser.PatternContext ctx)
Enter a parse tree produced byCocoParser.pattern()
.The default implementation does nothing.
- Specified by:
enterPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitPattern
public void exitPattern(CocoParser.PatternContext ctx)
Exit a parse tree produced byCocoParser.pattern()
.The default implementation does nothing.
- Specified by:
exitPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEnumCasePattern
public void enterEnumCasePattern(CocoParser.EnumCasePatternContext ctx)
Enter a parse tree produced byCocoParser.enumCasePattern()
.The default implementation does nothing.
- Specified by:
enterEnumCasePattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEnumCasePattern
public void exitEnumCasePattern(CocoParser.EnumCasePatternContext ctx)
Exit a parse tree produced byCocoParser.enumCasePattern()
.The default implementation does nothing.
- Specified by:
exitEnumCasePattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterIdParameterPatterns
public void enterIdParameterPatterns(CocoParser.IdParameterPatternsContext ctx)
Enter a parse tree produced byCocoParser.idParameterPatterns()
.The default implementation does nothing.
- Specified by:
enterIdParameterPatterns
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitIdParameterPatterns
public void exitIdParameterPatterns(CocoParser.IdParameterPatternsContext ctx)
Exit a parse tree produced byCocoParser.idParameterPatterns()
.The default implementation does nothing.
- Specified by:
exitIdParameterPatterns
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterIdParameterPattern
public void enterIdParameterPattern(CocoParser.IdParameterPatternContext ctx)
Enter a parse tree produced byCocoParser.idParameterPattern()
.The default implementation does nothing.
- Specified by:
enterIdParameterPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitIdParameterPattern
public void exitIdParameterPattern(CocoParser.IdParameterPatternContext ctx)
Exit a parse tree produced byCocoParser.idParameterPattern()
.The default implementation does nothing.
- Specified by:
exitIdParameterPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterVariableDeclarationPattern
public void enterVariableDeclarationPattern(CocoParser.VariableDeclarationPatternContext ctx)
Enter a parse tree produced byCocoParser.variableDeclarationPattern()
.The default implementation does nothing.
- Specified by:
enterVariableDeclarationPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitVariableDeclarationPattern
public void exitVariableDeclarationPattern(CocoParser.VariableDeclarationPatternContext ctx)
Exit a parse tree produced byCocoParser.variableDeclarationPattern()
.The default implementation does nothing.
- Specified by:
exitVariableDeclarationPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterParameterPatterns
public void enterParameterPatterns(CocoParser.ParameterPatternsContext ctx)
Enter a parse tree produced byCocoParser.parameterPatterns()
.The default implementation does nothing.
- Specified by:
enterParameterPatterns
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitParameterPatterns
public void exitParameterPatterns(CocoParser.ParameterPatternsContext ctx)
Exit a parse tree produced byCocoParser.parameterPatterns()
.The default implementation does nothing.
- Specified by:
exitParameterPatterns
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterParameterPattern
public void enterParameterPattern(CocoParser.ParameterPatternContext ctx)
Enter a parse tree produced byCocoParser.parameterPattern()
.The default implementation does nothing.
- Specified by:
enterParameterPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitParameterPattern
public void exitParameterPattern(CocoParser.ParameterPatternContext ctx)
Exit a parse tree produced byCocoParser.parameterPattern()
.The default implementation does nothing.
- Specified by:
exitParameterPattern
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExpressions
public void enterExpressions(CocoParser.ExpressionsContext ctx)
Enter a parse tree produced byCocoParser.expressions()
.The default implementation does nothing.
- Specified by:
enterExpressions
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExpressions
public void exitExpressions(CocoParser.ExpressionsContext ctx)
Exit a parse tree produced byCocoParser.expressions()
.The default implementation does nothing.
- Specified by:
exitExpressions
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStatement
public void enterStatement(CocoParser.StatementContext ctx)
Enter a parse tree produced byCocoParser.statement()
.The default implementation does nothing.
- Specified by:
enterStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStatement
public void exitStatement(CocoParser.StatementContext ctx)
Exit a parse tree produced byCocoParser.statement()
.The default implementation does nothing.
- Specified by:
exitStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterDeclarationStatement
public void enterDeclarationStatement(CocoParser.DeclarationStatementContext ctx)
Enter a parse tree produced byCocoParser.declarationStatement()
.The default implementation does nothing.
- Specified by:
enterDeclarationStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitDeclarationStatement
public void exitDeclarationStatement(CocoParser.DeclarationStatementContext ctx)
Exit a parse tree produced byCocoParser.declarationStatement()
.The default implementation does nothing.
- Specified by:
exitDeclarationStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterReturnStatement
public void enterReturnStatement(CocoParser.ReturnStatementContext ctx)
Enter a parse tree produced byCocoParser.returnStatement()
.The default implementation does nothing.
- Specified by:
enterReturnStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitReturnStatement
public void exitReturnStatement(CocoParser.ReturnStatementContext ctx)
Exit a parse tree produced byCocoParser.returnStatement()
.The default implementation does nothing.
- Specified by:
exitReturnStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterBecomeStatement
public void enterBecomeStatement(CocoParser.BecomeStatementContext ctx)
Enter a parse tree produced byCocoParser.becomeStatement()
.The default implementation does nothing.
- Specified by:
enterBecomeStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitBecomeStatement
public void exitBecomeStatement(CocoParser.BecomeStatementContext ctx)
Exit a parse tree produced byCocoParser.becomeStatement()
.The default implementation does nothing.
- Specified by:
exitBecomeStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterWhileStatement
public void enterWhileStatement(CocoParser.WhileStatementContext ctx)
Enter a parse tree produced byCocoParser.whileStatement()
.The default implementation does nothing.
- Specified by:
enterWhileStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitWhileStatement
public void exitWhileStatement(CocoParser.WhileStatementContext ctx)
Exit a parse tree produced byCocoParser.whileStatement()
.The default implementation does nothing.
- Specified by:
exitWhileStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterForStatement
public void enterForStatement(CocoParser.ForStatementContext ctx)
Enter a parse tree produced byCocoParser.forStatement()
.The default implementation does nothing.
- Specified by:
enterForStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitForStatement
public void exitForStatement(CocoParser.ForStatementContext ctx)
Exit a parse tree produced byCocoParser.forStatement()
.The default implementation does nothing.
- Specified by:
exitForStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterBreakStatement
public void enterBreakStatement(CocoParser.BreakStatementContext ctx)
Enter a parse tree produced byCocoParser.breakStatement()
.The default implementation does nothing.
- Specified by:
enterBreakStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitBreakStatement
public void exitBreakStatement(CocoParser.BreakStatementContext ctx)
Exit a parse tree produced byCocoParser.breakStatement()
.The default implementation does nothing.
- Specified by:
exitBreakStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterContinueStatement
public void enterContinueStatement(CocoParser.ContinueStatementContext ctx)
Enter a parse tree produced byCocoParser.continueStatement()
.The default implementation does nothing.
- Specified by:
enterContinueStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitContinueStatement
public void exitContinueStatement(CocoParser.ContinueStatementContext ctx)
Exit a parse tree produced byCocoParser.continueStatement()
.The default implementation does nothing.
- Specified by:
exitContinueStatement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterPortElement
public void enterPortElement(CocoParser.PortElementContext ctx)
Enter a parse tree produced byCocoParser.portElement()
.The default implementation does nothing.
- Specified by:
enterPortElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitPortElement
public void exitPortElement(CocoParser.PortElementContext ctx)
Exit a parse tree produced byCocoParser.portElement()
.The default implementation does nothing.
- Specified by:
exitPortElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFunctionInterfaceDeclaration
public void enterFunctionInterfaceDeclaration(CocoParser.FunctionInterfaceDeclarationContext ctx)
Enter a parse tree produced byCocoParser.functionInterfaceDeclaration()
.The default implementation does nothing.
- Specified by:
enterFunctionInterfaceDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFunctionInterfaceDeclaration
public void exitFunctionInterfaceDeclaration(CocoParser.FunctionInterfaceDeclarationContext ctx)
Exit a parse tree produced byCocoParser.functionInterfaceDeclaration()
.The default implementation does nothing.
- Specified by:
exitFunctionInterfaceDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterSignalDeclaration
public void enterSignalDeclaration(CocoParser.SignalDeclarationContext ctx)
Enter a parse tree produced byCocoParser.signalDeclaration()
.The default implementation does nothing.
- Specified by:
enterSignalDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitSignalDeclaration
public void exitSignalDeclaration(CocoParser.SignalDeclarationContext ctx)
Exit a parse tree produced byCocoParser.signalDeclaration()
.The default implementation does nothing.
- Specified by:
exitSignalDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStateMachineDeclaration
public void enterStateMachineDeclaration(CocoParser.StateMachineDeclarationContext ctx)
Enter a parse tree produced byCocoParser.stateMachineDeclaration()
.The default implementation does nothing.
- Specified by:
enterStateMachineDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStateMachineDeclaration
public void exitStateMachineDeclaration(CocoParser.StateMachineDeclarationContext ctx)
Exit a parse tree produced byCocoParser.stateMachineDeclaration()
.The default implementation does nothing.
- Specified by:
exitStateMachineDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStateMachineElement
public void enterStateMachineElement(CocoParser.StateMachineElementContext ctx)
Enter a parse tree produced byCocoParser.stateMachineElement()
.The default implementation does nothing.
- Specified by:
enterStateMachineElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStateMachineElement
public void exitStateMachineElement(CocoParser.StateMachineElementContext ctx)
Exit a parse tree produced byCocoParser.stateMachineElement()
.The default implementation does nothing.
- Specified by:
exitStateMachineElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStateDeclaration
public void enterStateDeclaration(CocoParser.StateDeclarationContext ctx)
Enter a parse tree produced byCocoParser.stateDeclaration()
.The default implementation does nothing.
- Specified by:
enterStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStateDeclaration
public void exitStateDeclaration(CocoParser.StateDeclarationContext ctx)
Exit a parse tree produced byCocoParser.stateDeclaration()
.The default implementation does nothing.
- Specified by:
exitStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEventStateDeclaration
public void enterEventStateDeclaration(CocoParser.EventStateDeclarationContext ctx)
Enter a parse tree produced byCocoParser.eventStateDeclaration()
.The default implementation does nothing.
- Specified by:
enterEventStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEventStateDeclaration
public void exitEventStateDeclaration(CocoParser.EventStateDeclarationContext ctx)
Exit a parse tree produced byCocoParser.eventStateDeclaration()
.The default implementation does nothing.
- Specified by:
exitEventStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExecutionStateDeclaration
public void enterExecutionStateDeclaration(CocoParser.ExecutionStateDeclarationContext ctx)
Enter a parse tree produced byCocoParser.executionStateDeclaration()
.The default implementation does nothing.
- Specified by:
enterExecutionStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExecutionStateDeclaration
public void exitExecutionStateDeclaration(CocoParser.ExecutionStateDeclarationContext ctx)
Exit a parse tree produced byCocoParser.executionStateDeclaration()
.The default implementation does nothing.
- Specified by:
exitExecutionStateDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEventStateElement
public void enterEventStateElement(CocoParser.EventStateElementContext ctx)
Enter a parse tree produced byCocoParser.eventStateElement()
.The default implementation does nothing.
- Specified by:
enterEventStateElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEventStateElement
public void exitEventStateElement(CocoParser.EventStateElementContext ctx)
Exit a parse tree produced byCocoParser.eventStateElement()
.The default implementation does nothing.
- Specified by:
exitEventStateElement
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEntryFunctionDeclaration
public void enterEntryFunctionDeclaration(CocoParser.EntryFunctionDeclarationContext ctx)
Enter a parse tree produced byCocoParser.entryFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
enterEntryFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEntryFunctionDeclaration
public void exitEntryFunctionDeclaration(CocoParser.EntryFunctionDeclarationContext ctx)
Exit a parse tree produced byCocoParser.entryFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
exitEntryFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterExitFunctionDeclaration
public void enterExitFunctionDeclaration(CocoParser.ExitFunctionDeclarationContext ctx)
Enter a parse tree produced byCocoParser.exitFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
enterExitFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitExitFunctionDeclaration
public void exitExitFunctionDeclaration(CocoParser.ExitFunctionDeclarationContext ctx)
Exit a parse tree produced byCocoParser.exitFunctionDeclaration()
.The default implementation does nothing.
- Specified by:
exitExitFunctionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterStateInvariant
public void enterStateInvariant(CocoParser.StateInvariantContext ctx)
Enter a parse tree produced byCocoParser.stateInvariant()
.The default implementation does nothing.
- Specified by:
enterStateInvariant
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitStateInvariant
public void exitStateInvariant(CocoParser.StateInvariantContext ctx)
Exit a parse tree produced byCocoParser.stateInvariant()
.The default implementation does nothing.
- Specified by:
exitStateInvariant
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTransitionDeclaration
public void enterTransitionDeclaration(CocoParser.TransitionDeclarationContext ctx)
Enter a parse tree produced byCocoParser.transitionDeclaration()
.The default implementation does nothing.
- Specified by:
enterTransitionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTransitionDeclaration
public void exitTransitionDeclaration(CocoParser.TransitionDeclarationContext ctx)
Exit a parse tree produced byCocoParser.transitionDeclaration()
.The default implementation does nothing.
- Specified by:
exitTransitionDeclaration
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEventTransition
public void enterEventTransition(CocoParser.EventTransitionContext ctx)
Enter a parse tree produced byCocoParser.eventTransition()
.The default implementation does nothing.
- Specified by:
enterEventTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEventTransition
public void exitEventTransition(CocoParser.EventTransitionContext ctx)
Exit a parse tree produced byCocoParser.eventTransition()
.The default implementation does nothing.
- Specified by:
exitEventTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEventSource
public void enterEventSource(CocoParser.EventSourceContext ctx)
Enter a parse tree produced byCocoParser.eventSource()
.The default implementation does nothing.
- Specified by:
enterEventSource
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEventSource
public void exitEventSource(CocoParser.EventSourceContext ctx)
Exit a parse tree produced byCocoParser.eventSource()
.The default implementation does nothing.
- Specified by:
exitEventSource
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterSpontaneousTransition
public void enterSpontaneousTransition(CocoParser.SpontaneousTransitionContext ctx)
Enter a parse tree produced byCocoParser.spontaneousTransition()
.The default implementation does nothing.
- Specified by:
enterSpontaneousTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitSpontaneousTransition
public void exitSpontaneousTransition(CocoParser.SpontaneousTransitionContext ctx)
Exit a parse tree produced byCocoParser.spontaneousTransition()
.The default implementation does nothing.
- Specified by:
exitSpontaneousTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTimerTransition
public void enterTimerTransition(CocoParser.TimerTransitionContext ctx)
Enter a parse tree produced byCocoParser.timerTransition()
.The default implementation does nothing.
- Specified by:
enterTimerTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTimerTransition
public void exitTimerTransition(CocoParser.TimerTransitionContext ctx)
Exit a parse tree produced byCocoParser.timerTransition()
.The default implementation does nothing.
- Specified by:
exitTimerTransition
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEventHandler
public void enterEventHandler(CocoParser.EventHandlerContext ctx)
Enter a parse tree produced byCocoParser.eventHandler()
.The default implementation does nothing.
- Specified by:
enterEventHandler
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitEventHandler
public void exitEventHandler(CocoParser.EventHandlerContext ctx)
Exit a parse tree produced byCocoParser.eventHandler()
.The default implementation does nothing.
- Specified by:
exitEventHandler
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterOffer
public void enterOffer(CocoParser.OfferContext ctx)
Enter a parse tree produced byCocoParser.offer()
.The default implementation does nothing.
- Specified by:
enterOffer
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitOffer
public void exitOffer(CocoParser.OfferContext ctx)
Exit a parse tree produced byCocoParser.offer()
.The default implementation does nothing.
- Specified by:
exitOffer
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterOfferClauses
public void enterOfferClauses(CocoParser.OfferClausesContext ctx)
Enter a parse tree produced byCocoParser.offerClauses()
.The default implementation does nothing.
- Specified by:
enterOfferClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitOfferClauses
public void exitOfferClauses(CocoParser.OfferClausesContext ctx)
Exit a parse tree produced byCocoParser.offerClauses()
.The default implementation does nothing.
- Specified by:
exitOfferClauses
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterOfferClause
public void enterOfferClause(CocoParser.OfferClauseContext ctx)
Enter a parse tree produced byCocoParser.offerClause()
.The default implementation does nothing.
- Specified by:
enterOfferClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitOfferClause
public void exitOfferClause(CocoParser.OfferClauseContext ctx)
Exit a parse tree produced byCocoParser.offerClause()
.The default implementation does nothing.
- Specified by:
exitOfferClause
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterParameters
public void enterParameters(CocoParser.ParametersContext ctx)
Enter a parse tree produced byCocoParser.parameters()
.The default implementation does nothing.
- Specified by:
enterParameters
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitParameters
public void exitParameters(CocoParser.ParametersContext ctx)
Exit a parse tree produced byCocoParser.parameters()
.The default implementation does nothing.
- Specified by:
exitParameters
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterParameter
public void enterParameter(CocoParser.ParameterContext ctx)
Enter a parse tree produced byCocoParser.parameter()
.The default implementation does nothing.
- Specified by:
enterParameter
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitParameter
public void exitParameter(CocoParser.ParameterContext ctx)
Exit a parse tree produced byCocoParser.parameter()
.The default implementation does nothing.
- Specified by:
exitParameter
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterLiteralExpression_
public void enterLiteralExpression_(CocoParser.LiteralExpression_Context ctx)
Enter a parse tree produced byCocoParser.literalExpression_()
.The default implementation does nothing.
- Specified by:
enterLiteralExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitLiteralExpression_
public void exitLiteralExpression_(CocoParser.LiteralExpression_Context ctx)
Exit a parse tree produced byCocoParser.literalExpression_()
.The default implementation does nothing.
- Specified by:
exitLiteralExpression_
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterBinaryType
public void enterBinaryType(CocoParser.BinaryTypeContext ctx)
Enter a parse tree produced by theBinaryType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterBinaryType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitBinaryType
public void exitBinaryType(CocoParser.BinaryTypeContext ctx)
Exit a parse tree produced by theBinaryType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitBinaryType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterGroupType
public void enterGroupType(CocoParser.GroupTypeContext ctx)
Enter a parse tree produced by theGroupType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterGroupType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitGroupType
public void exitGroupType(CocoParser.GroupTypeContext ctx)
Exit a parse tree produced by theGroupType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitGroupType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterFunctionType
public void enterFunctionType(CocoParser.FunctionTypeContext ctx)
Enter a parse tree produced by theFunctionType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterFunctionType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitFunctionType
public void exitFunctionType(CocoParser.FunctionTypeContext ctx)
Exit a parse tree produced by theFunctionType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitFunctionType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterUnaryType
public void enterUnaryType(CocoParser.UnaryTypeContext ctx)
Enter a parse tree produced by theUnaryType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterUnaryType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitUnaryType
public void exitUnaryType(CocoParser.UnaryTypeContext ctx)
Exit a parse tree produced by theUnaryType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitUnaryType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterLiteralType
public void enterLiteralType(CocoParser.LiteralTypeContext ctx)
Enter a parse tree produced by theLiteralType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterLiteralType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitLiteralType
public void exitLiteralType(CocoParser.LiteralTypeContext ctx)
Exit a parse tree produced by theLiteralType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitLiteralType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTypeReference
public void enterTypeReference(CocoParser.TypeReferenceContext ctx)
Enter a parse tree produced by theTypeReference
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterTypeReference
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTypeReference
public void exitTypeReference(CocoParser.TypeReferenceContext ctx)
Exit a parse tree produced by theTypeReference
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitTypeReference
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterReferenceType
public void enterReferenceType(CocoParser.ReferenceTypeContext ctx)
Enter a parse tree produced by theReferenceType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
enterReferenceType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitReferenceType
public void exitReferenceType(CocoParser.ReferenceTypeContext ctx)
Exit a parse tree produced by theReferenceType
labeled alternative inCocoParser.type()
.The default implementation does nothing.
- Specified by:
exitReferenceType
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterTypes
public void enterTypes(CocoParser.TypesContext ctx)
Enter a parse tree produced byCocoParser.types()
.The default implementation does nothing.
- Specified by:
enterTypes
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitTypes
public void exitTypes(CocoParser.TypesContext ctx)
Exit a parse tree produced byCocoParser.types()
.The default implementation does nothing.
- Specified by:
exitTypes
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterDotIdentifierList
public void enterDotIdentifierList(CocoParser.DotIdentifierListContext ctx)
Enter a parse tree produced byCocoParser.dotIdentifierList()
.The default implementation does nothing.
- Specified by:
enterDotIdentifierList
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
exitDotIdentifierList
public void exitDotIdentifierList(CocoParser.DotIdentifierListContext ctx)
Exit a parse tree produced byCocoParser.dotIdentifierList()
.The default implementation does nothing.
- Specified by:
exitDotIdentifierList
in interfaceCocoListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-