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