Interface CocoVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
CocoBaseVisitor
public interface CocoVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byCocoParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitModule
T visitModule(CocoParser.ModuleContext ctx)
Visit a parse tree produced byCocoParser.module()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeclaration
T visitDeclaration(CocoParser.DeclarationContext ctx)
Visit a parse tree produced byCocoParser.declaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttribute
T visitAttribute(CocoParser.AttributeContext ctx)
Visit a parse tree produced byCocoParser.attribute()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeDeclaration
T visitAttributeDeclaration(CocoParser.AttributeDeclarationContext ctx)
Visit a parse tree produced byCocoParser.attributeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
T visitImportDeclaration(CocoParser.ImportDeclarationContext ctx)
Visit a parse tree produced byCocoParser.importDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
T visitVariableDeclaration(CocoParser.VariableDeclarationContext ctx)
Visit a parse tree produced byCocoParser.variableDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
T visitEnumDeclaration(CocoParser.EnumDeclarationContext ctx)
Visit a parse tree produced byCocoParser.enumDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructDeclaration
T visitStructDeclaration(CocoParser.StructDeclarationContext ctx)
Visit a parse tree produced byCocoParser.structDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeAliasDeclaration
T visitTypeAliasDeclaration(CocoParser.TypeAliasDeclarationContext ctx)
Visit a parse tree produced byCocoParser.typeAliasDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
T visitFunctionDeclaration(CocoParser.FunctionDeclarationContext ctx)
Visit a parse tree produced byCocoParser.functionDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstanceDeclaration
T visitInstanceDeclaration(CocoParser.InstanceDeclarationContext ctx)
Visit a parse tree produced byCocoParser.instanceDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPortDeclaration
T visitPortDeclaration(CocoParser.PortDeclarationContext ctx)
Visit a parse tree produced byCocoParser.portDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComponentDeclaration
T visitComponentDeclaration(CocoParser.ComponentDeclarationContext ctx)
Visit a parse tree produced byCocoParser.componentDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalConstantDeclaration
T visitExternalConstantDeclaration(CocoParser.ExternalConstantDeclarationContext ctx)
Visit a parse tree produced byCocoParser.externalConstantDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalTypeDeclaration
T visitExternalTypeDeclaration(CocoParser.ExternalTypeDeclarationContext ctx)
Visit a parse tree produced byCocoParser.externalTypeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalTypeElement
T visitExternalTypeElement(CocoParser.ExternalTypeElementContext ctx)
Visit a parse tree produced byCocoParser.externalTypeElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalFunctionDeclaration
T visitExternalFunctionDeclaration(CocoParser.ExternalFunctionDeclarationContext ctx)
Visit a parse tree produced byCocoParser.externalFunctionDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericTypeDeclaration
T visitGenericTypeDeclaration(CocoParser.GenericTypeDeclarationContext ctx)
Visit a parse tree produced byCocoParser.genericTypeDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericTypes
T visitGenericTypes(CocoParser.GenericTypesContext ctx)
Visit a parse tree produced byCocoParser.genericTypes()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericType
T visitGenericType(CocoParser.GenericTypeContext ctx)
Visit a parse tree produced byCocoParser.genericType()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumElement
T visitEnumElement(CocoParser.EnumElementContext ctx)
Visit a parse tree produced byCocoParser.enumElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumCase
T visitEnumCase(CocoParser.EnumCaseContext ctx)
Visit a parse tree produced byCocoParser.enumCase()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseParameters
T visitCaseParameters(CocoParser.CaseParametersContext ctx)
Visit a parse tree produced byCocoParser.caseParameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseParameter
T visitCaseParameter(CocoParser.CaseParameterContext ctx)
Visit a parse tree produced byCocoParser.caseParameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructElement
T visitStructElement(CocoParser.StructElementContext ctx)
Visit a parse tree produced byCocoParser.structElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
T visitFieldDeclaration(CocoParser.FieldDeclarationContext ctx)
Visit a parse tree produced byCocoParser.fieldDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComponentElement
T visitComponentElement(CocoParser.ComponentElementContext ctx)
Visit a parse tree produced byCocoParser.componentElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStaticMemberDeclaration
T visitStaticMemberDeclaration(CocoParser.StaticMemberDeclarationContext ctx)
Visit a parse tree produced byCocoParser.staticMemberDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
T visitConstructorDeclaration(CocoParser.ConstructorDeclarationContext ctx)
Visit a parse tree produced byCocoParser.constructorDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfExpression
T visitIfExpression(CocoParser.IfExpressionContext ctx)
Visit a parse tree produced by theIfExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryOperatorExpression
T visitTryOperatorExpression(CocoParser.TryOperatorExpressionContext ctx)
Visit a parse tree produced by theTryOperatorExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryOperatorExpression
T visitUnaryOperatorExpression(CocoParser.UnaryOperatorExpressionContext ctx)
Visit a parse tree produced by theUnaryOperatorExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOptionalExpression
T visitOptionalExpression(CocoParser.OptionalExpressionContext ctx)
Visit a parse tree produced by theOptionalExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArithmicOrLogicalExpression
T visitArithmicOrLogicalExpression(CocoParser.ArithmicOrLogicalExpressionContext ctx)
Visit a parse tree produced by theArithmicOrLogicalExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
T visitLiteralExpression(CocoParser.LiteralExpressionContext ctx)
Visit a parse tree produced by theLiteralExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayLiteralExpression
T visitArrayLiteralExpression(CocoParser.ArrayLiteralExpressionContext ctx)
Visit a parse tree produced by theArrayLiteralExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNondetExpression
T visitNondetExpression(CocoParser.NondetExpressionContext ctx)
Visit a parse tree produced by theNondetExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupedExpression
T visitGroupedExpression(CocoParser.GroupedExpressionContext ctx)
Visit a parse tree produced by theGroupedExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockExpression
T visitBlockExpression(CocoParser.BlockExpressionContext ctx)
Visit a parse tree produced by theBlockExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatchExpression
T visitMatchExpression(CocoParser.MatchExpressionContext ctx)
Visit a parse tree produced by theMatchExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructLiteralExpression
T visitStructLiteralExpression(CocoParser.StructLiteralExpressionContext ctx)
Visit a parse tree produced by theStructLiteralExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberReferenceExpression
T visitMemberReferenceExpression(CocoParser.MemberReferenceExpressionContext ctx)
Visit a parse tree produced by theMemberReferenceExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
T visitAssignmentExpression(CocoParser.AssignmentExpressionContext ctx)
Visit a parse tree produced by theAssignmentExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableReferenceExpression
T visitVariableReferenceExpression(CocoParser.VariableReferenceExpressionContext ctx)
Visit a parse tree produced by theVariableReferenceExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImplicitMemberExpression
T visitImplicitMemberExpression(CocoParser.ImplicitMemberExpressionContext ctx)
Visit a parse tree produced by theImplicitMemberExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalFunction
T visitExternalFunction(CocoParser.ExternalFunctionContext ctx)
Visit a parse tree produced by theExternalFunction
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExpression
T visitCastExpression(CocoParser.CastExpressionContext ctx)
Visit a parse tree produced by theCastExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStateInvariantExpression
T visitStateInvariantExpression(CocoParser.StateInvariantExpressionContext ctx)
Visit a parse tree produced by theStateInvariantExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCallExpression
T visitCallExpression(CocoParser.CallExpressionContext ctx)
Visit a parse tree produced by theCallExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalLiteral
T visitExternalLiteral(CocoParser.ExternalLiteralContext ctx)
Visit a parse tree produced by theExternalLiteral
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArraySubscriptExpression
T visitArraySubscriptExpression(CocoParser.ArraySubscriptExpressionContext ctx)
Visit a parse tree produced by theArraySubscriptExpression
labeled alternative inCocoParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockExpression_
T visitBlockExpression_(CocoParser.BlockExpression_Context ctx)
Visit a parse tree produced byCocoParser.blockExpression_()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfExpression_
T visitIfExpression_(CocoParser.IfExpression_Context ctx)
Visit a parse tree produced byCocoParser.ifExpression_()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatchExpression_
T visitMatchExpression_(CocoParser.MatchExpression_Context ctx)
Visit a parse tree produced byCocoParser.matchExpression_()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNondetExpression_
T visitNondetExpression_(CocoParser.NondetExpression_Context ctx)
Visit a parse tree produced byCocoParser.nondetExpression_()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldAssignments
T visitFieldAssignments(CocoParser.FieldAssignmentsContext ctx)
Visit a parse tree produced byCocoParser.fieldAssignments()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldAssignment
T visitFieldAssignment(CocoParser.FieldAssignmentContext ctx)
Visit a parse tree produced byCocoParser.fieldAssignment()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNondetClauses
T visitNondetClauses(CocoParser.NondetClausesContext ctx)
Visit a parse tree produced byCocoParser.nondetClauses()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNondetClause
T visitNondetClause(CocoParser.NondetClauseContext ctx)
Visit a parse tree produced byCocoParser.nondetClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatchClauses
T visitMatchClauses(CocoParser.MatchClausesContext ctx)
Visit a parse tree produced byCocoParser.matchClauses()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMatchClause
T visitMatchClause(CocoParser.MatchClauseContext ctx)
Visit a parse tree produced byCocoParser.matchClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPattern
T visitPattern(CocoParser.PatternContext ctx)
Visit a parse tree produced byCocoParser.pattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumCasePattern
T visitEnumCasePattern(CocoParser.EnumCasePatternContext ctx)
Visit a parse tree produced byCocoParser.enumCasePattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdParameterPatterns
T visitIdParameterPatterns(CocoParser.IdParameterPatternsContext ctx)
Visit a parse tree produced byCocoParser.idParameterPatterns()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdParameterPattern
T visitIdParameterPattern(CocoParser.IdParameterPatternContext ctx)
Visit a parse tree produced byCocoParser.idParameterPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarationPattern
T visitVariableDeclarationPattern(CocoParser.VariableDeclarationPatternContext ctx)
Visit a parse tree produced byCocoParser.variableDeclarationPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameterPatterns
T visitParameterPatterns(CocoParser.ParameterPatternsContext ctx)
Visit a parse tree produced byCocoParser.parameterPatterns()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameterPattern
T visitParameterPattern(CocoParser.ParameterPatternContext ctx)
Visit a parse tree produced byCocoParser.parameterPattern()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressions
T visitExpressions(CocoParser.ExpressionsContext ctx)
Visit a parse tree produced byCocoParser.expressions()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStatement
T visitStatement(CocoParser.StatementContext ctx)
Visit a parse tree produced byCocoParser.statement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeclarationStatement
T visitDeclarationStatement(CocoParser.DeclarationStatementContext ctx)
Visit a parse tree produced byCocoParser.declarationStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
T visitReturnStatement(CocoParser.ReturnStatementContext ctx)
Visit a parse tree produced byCocoParser.returnStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBecomeStatement
T visitBecomeStatement(CocoParser.BecomeStatementContext ctx)
Visit a parse tree produced byCocoParser.becomeStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
T visitWhileStatement(CocoParser.WhileStatementContext ctx)
Visit a parse tree produced byCocoParser.whileStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStatement
T visitForStatement(CocoParser.ForStatementContext ctx)
Visit a parse tree produced byCocoParser.forStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
T visitBreakStatement(CocoParser.BreakStatementContext ctx)
Visit a parse tree produced byCocoParser.breakStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
T visitContinueStatement(CocoParser.ContinueStatementContext ctx)
Visit a parse tree produced byCocoParser.continueStatement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPortElement
T visitPortElement(CocoParser.PortElementContext ctx)
Visit a parse tree produced byCocoParser.portElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionInterfaceDeclaration
T visitFunctionInterfaceDeclaration(CocoParser.FunctionInterfaceDeclarationContext ctx)
Visit a parse tree produced byCocoParser.functionInterfaceDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSignalDeclaration
T visitSignalDeclaration(CocoParser.SignalDeclarationContext ctx)
Visit a parse tree produced byCocoParser.signalDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStateMachineDeclaration
T visitStateMachineDeclaration(CocoParser.StateMachineDeclarationContext ctx)
Visit a parse tree produced byCocoParser.stateMachineDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStateMachineElement
T visitStateMachineElement(CocoParser.StateMachineElementContext ctx)
Visit a parse tree produced byCocoParser.stateMachineElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStateDeclaration
T visitStateDeclaration(CocoParser.StateDeclarationContext ctx)
Visit a parse tree produced byCocoParser.stateDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEventStateDeclaration
T visitEventStateDeclaration(CocoParser.EventStateDeclarationContext ctx)
Visit a parse tree produced byCocoParser.eventStateDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExecutionStateDeclaration
T visitExecutionStateDeclaration(CocoParser.ExecutionStateDeclarationContext ctx)
Visit a parse tree produced byCocoParser.executionStateDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEventStateElement
T visitEventStateElement(CocoParser.EventStateElementContext ctx)
Visit a parse tree produced byCocoParser.eventStateElement()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntryFunctionDeclaration
T visitEntryFunctionDeclaration(CocoParser.EntryFunctionDeclarationContext ctx)
Visit a parse tree produced byCocoParser.entryFunctionDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExitFunctionDeclaration
T visitExitFunctionDeclaration(CocoParser.ExitFunctionDeclarationContext ctx)
Visit a parse tree produced byCocoParser.exitFunctionDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStateInvariant
T visitStateInvariant(CocoParser.StateInvariantContext ctx)
Visit a parse tree produced byCocoParser.stateInvariant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTransitionDeclaration
T visitTransitionDeclaration(CocoParser.TransitionDeclarationContext ctx)
Visit a parse tree produced byCocoParser.transitionDeclaration()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEventTransition
T visitEventTransition(CocoParser.EventTransitionContext ctx)
Visit a parse tree produced byCocoParser.eventTransition()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEventSource
T visitEventSource(CocoParser.EventSourceContext ctx)
Visit a parse tree produced byCocoParser.eventSource()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSpontaneousTransition
T visitSpontaneousTransition(CocoParser.SpontaneousTransitionContext ctx)
Visit a parse tree produced byCocoParser.spontaneousTransition()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTimerTransition
T visitTimerTransition(CocoParser.TimerTransitionContext ctx)
Visit a parse tree produced byCocoParser.timerTransition()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEventHandler
T visitEventHandler(CocoParser.EventHandlerContext ctx)
Visit a parse tree produced byCocoParser.eventHandler()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffer
T visitOffer(CocoParser.OfferContext ctx)
Visit a parse tree produced byCocoParser.offer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOfferClauses
T visitOfferClauses(CocoParser.OfferClausesContext ctx)
Visit a parse tree produced byCocoParser.offerClauses()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOfferClause
T visitOfferClause(CocoParser.OfferClauseContext ctx)
Visit a parse tree produced byCocoParser.offerClause()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameters
T visitParameters(CocoParser.ParametersContext ctx)
Visit a parse tree produced byCocoParser.parameters()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameter
T visitParameter(CocoParser.ParameterContext ctx)
Visit a parse tree produced byCocoParser.parameter()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression_
T visitLiteralExpression_(CocoParser.LiteralExpression_Context ctx)
Visit a parse tree produced byCocoParser.literalExpression_()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryType
T visitBinaryType(CocoParser.BinaryTypeContext ctx)
Visit a parse tree produced by theBinaryType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupType
T visitGroupType(CocoParser.GroupTypeContext ctx)
Visit a parse tree produced by theGroupType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionType
T visitFunctionType(CocoParser.FunctionTypeContext ctx)
Visit a parse tree produced by theFunctionType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryType
T visitUnaryType(CocoParser.UnaryTypeContext ctx)
Visit a parse tree produced by theUnaryType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralType
T visitLiteralType(CocoParser.LiteralTypeContext ctx)
Visit a parse tree produced by theLiteralType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeReference
T visitTypeReference(CocoParser.TypeReferenceContext ctx)
Visit a parse tree produced by theTypeReference
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReferenceType
T visitReferenceType(CocoParser.ReferenceTypeContext ctx)
Visit a parse tree produced by theReferenceType
labeled alternative inCocoParser.type()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypes
T visitTypes(CocoParser.TypesContext ctx)
Visit a parse tree produced byCocoParser.types()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDotIdentifierList
T visitDotIdentifierList(CocoParser.DotIdentifierListContext ctx)
Visit a parse tree produced byCocoParser.dotIdentifierList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-