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. UseVoidfor operations with no return type.
- All Implemented Interfaces:
CocoVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class CocoBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements CocoVisitor<T>
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()
-
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)
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:
visitModulein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaration
public T visitDeclaration(CocoParser.DeclarationContext ctx)
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:
visitDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttribute
public T visitAttribute(CocoParser.AttributeContext ctx)
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:
visitAttributein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttributeDeclaration
public T visitAttributeDeclaration(CocoParser.AttributeDeclarationContext ctx)
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:
visitAttributeDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
public T visitImportDeclaration(CocoParser.ImportDeclarationContext ctx)
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:
visitImportDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
public T visitVariableDeclaration(CocoParser.VariableDeclarationContext ctx)
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:
visitVariableDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDeclaration
public T visitEnumDeclaration(CocoParser.EnumDeclarationContext ctx)
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:
visitEnumDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructDeclaration
public T visitStructDeclaration(CocoParser.StructDeclarationContext ctx)
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:
visitStructDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeAliasDeclaration
public T visitTypeAliasDeclaration(CocoParser.TypeAliasDeclarationContext ctx)
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:
visitTypeAliasDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclaration
public T visitFunctionDeclaration(CocoParser.FunctionDeclarationContext ctx)
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:
visitFunctionDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInstanceDeclaration
public T visitInstanceDeclaration(CocoParser.InstanceDeclarationContext ctx)
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:
visitInstanceDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPortDeclaration
public T visitPortDeclaration(CocoParser.PortDeclarationContext ctx)
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:
visitPortDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentDeclaration
public T visitComponentDeclaration(CocoParser.ComponentDeclarationContext ctx)
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:
visitComponentDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalConstantDeclaration
public T visitExternalConstantDeclaration(CocoParser.ExternalConstantDeclarationContext ctx)
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:
visitExternalConstantDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalTypeDeclaration
public T visitExternalTypeDeclaration(CocoParser.ExternalTypeDeclarationContext ctx)
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:
visitExternalTypeDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalTypeElement
public T visitExternalTypeElement(CocoParser.ExternalTypeElementContext ctx)
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:
visitExternalTypeElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalFunctionDeclaration
public T visitExternalFunctionDeclaration(CocoParser.ExternalFunctionDeclarationContext ctx)
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:
visitExternalFunctionDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericTypeDeclaration
public T visitGenericTypeDeclaration(CocoParser.GenericTypeDeclarationContext ctx)
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:
visitGenericTypeDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericTypes
public T visitGenericTypes(CocoParser.GenericTypesContext ctx)
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:
visitGenericTypesin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGenericType
public T visitGenericType(CocoParser.GenericTypeContext ctx)
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:
visitGenericTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumElement
public T visitEnumElement(CocoParser.EnumElementContext ctx)
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:
visitEnumElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumCase
public T visitEnumCase(CocoParser.EnumCaseContext ctx)
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:
visitEnumCasein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseParameters
public T visitCaseParameters(CocoParser.CaseParametersContext ctx)
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:
visitCaseParametersin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseParameter
public T visitCaseParameter(CocoParser.CaseParameterContext ctx)
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:
visitCaseParameterin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructElement
public T visitStructElement(CocoParser.StructElementContext ctx)
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:
visitStructElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
public T visitFieldDeclaration(CocoParser.FieldDeclarationContext ctx)
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:
visitFieldDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComponentElement
public T visitComponentElement(CocoParser.ComponentElementContext ctx)
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:
visitComponentElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStaticMemberDeclaration
public T visitStaticMemberDeclaration(CocoParser.StaticMemberDeclarationContext ctx)
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:
visitStaticMemberDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstructorDeclaration
public T visitConstructorDeclaration(CocoParser.ConstructorDeclarationContext ctx)
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:
visitConstructorDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfExpression
public T visitIfExpression(CocoParser.IfExpressionContext ctx)
Visit a parse tree produced by theIfExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIfExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryOperatorExpression
public T visitTryOperatorExpression(CocoParser.TryOperatorExpressionContext ctx)
Visit a parse tree produced by theTryOperatorExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTryOperatorExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperatorExpression
public T visitUnaryOperatorExpression(CocoParser.UnaryOperatorExpressionContext ctx)
Visit a parse tree produced by theUnaryOperatorExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperatorExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionalExpression
public T visitOptionalExpression(CocoParser.OptionalExpressionContext ctx)
Visit a parse tree produced by theOptionalExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOptionalExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmicOrLogicalExpression
public T visitArithmicOrLogicalExpression(CocoParser.ArithmicOrLogicalExpressionContext ctx)
Visit a parse tree produced by theArithmicOrLogicalExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArithmicOrLogicalExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
public T visitLiteralExpression(CocoParser.LiteralExpressionContext ctx)
Visit a parse tree produced by theLiteralExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayLiteralExpression
public T visitArrayLiteralExpression(CocoParser.ArrayLiteralExpressionContext ctx)
Visit a parse tree produced by theArrayLiteralExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayLiteralExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNondetExpression
public T visitNondetExpression(CocoParser.NondetExpressionContext ctx)
Visit a parse tree produced by theNondetExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNondetExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroupedExpression
public T visitGroupedExpression(CocoParser.GroupedExpressionContext ctx)
Visit a parse tree produced by theGroupedExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupedExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockExpression
public T visitBlockExpression(CocoParser.BlockExpressionContext ctx)
Visit a parse tree produced by theBlockExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBlockExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatchExpression
public T visitMatchExpression(CocoParser.MatchExpressionContext ctx)
Visit a parse tree produced by theMatchExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMatchExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructLiteralExpression
public T visitStructLiteralExpression(CocoParser.StructLiteralExpressionContext ctx)
Visit a parse tree produced by theStructLiteralExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStructLiteralExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberReferenceExpression
public T visitMemberReferenceExpression(CocoParser.MemberReferenceExpressionContext ctx)
Visit a parse tree produced by theMemberReferenceExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberReferenceExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
public T visitAssignmentExpression(CocoParser.AssignmentExpressionContext ctx)
Visit a parse tree produced by theAssignmentExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssignmentExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableReferenceExpression
public T visitVariableReferenceExpression(CocoParser.VariableReferenceExpressionContext ctx)
Visit a parse tree produced by theVariableReferenceExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariableReferenceExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplicitMemberExpression
public T visitImplicitMemberExpression(CocoParser.ImplicitMemberExpressionContext ctx)
Visit a parse tree produced by theImplicitMemberExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImplicitMemberExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalFunction
public T visitExternalFunction(CocoParser.ExternalFunctionContext ctx)
Visit a parse tree produced by theExternalFunctionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExternalFunctionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastExpression
public T visitCastExpression(CocoParser.CastExpressionContext ctx)
Visit a parse tree produced by theCastExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCastExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStateInvariantExpression
public T visitStateInvariantExpression(CocoParser.StateInvariantExpressionContext ctx)
Visit a parse tree produced by theStateInvariantExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStateInvariantExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallExpression
public T visitCallExpression(CocoParser.CallExpressionContext ctx)
Visit a parse tree produced by theCallExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCallExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalLiteral
public T visitExternalLiteral(CocoParser.ExternalLiteralContext ctx)
Visit a parse tree produced by theExternalLiterallabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExternalLiteralin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArraySubscriptExpression
public T visitArraySubscriptExpression(CocoParser.ArraySubscriptExpressionContext ctx)
Visit a parse tree produced by theArraySubscriptExpressionlabeled alternative inCocoParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArraySubscriptExpressionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockExpression_
public T visitBlockExpression_(CocoParser.BlockExpression_Context ctx)
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)
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)
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)
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)
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:
visitFieldAssignmentsin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldAssignment
public T visitFieldAssignment(CocoParser.FieldAssignmentContext ctx)
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:
visitFieldAssignmentin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNondetClauses
public T visitNondetClauses(CocoParser.NondetClausesContext ctx)
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:
visitNondetClausesin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNondetClause
public T visitNondetClause(CocoParser.NondetClauseContext ctx)
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:
visitNondetClausein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatchClauses
public T visitMatchClauses(CocoParser.MatchClausesContext ctx)
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:
visitMatchClausesin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMatchClause
public T visitMatchClause(CocoParser.MatchClauseContext ctx)
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:
visitMatchClausein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPattern
public T visitPattern(CocoParser.PatternContext ctx)
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:
visitPatternin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumCasePattern
public T visitEnumCasePattern(CocoParser.EnumCasePatternContext ctx)
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:
visitEnumCasePatternin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdParameterPatterns
public T visitIdParameterPatterns(CocoParser.IdParameterPatternsContext ctx)
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:
visitIdParameterPatternsin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdParameterPattern
public T visitIdParameterPattern(CocoParser.IdParameterPatternContext ctx)
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:
visitIdParameterPatternin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarationPattern
public T visitVariableDeclarationPattern(CocoParser.VariableDeclarationPatternContext ctx)
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:
visitVariableDeclarationPatternin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterPatterns
public T visitParameterPatterns(CocoParser.ParameterPatternsContext ctx)
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:
visitParameterPatternsin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterPattern
public T visitParameterPattern(CocoParser.ParameterPatternContext ctx)
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:
visitParameterPatternin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressions
public T visitExpressions(CocoParser.ExpressionsContext ctx)
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:
visitExpressionsin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
public T visitStatement(CocoParser.StatementContext ctx)
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:
visitStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationStatement
public T visitDeclarationStatement(CocoParser.DeclarationStatementContext ctx)
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:
visitDeclarationStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStatement
public T visitReturnStatement(CocoParser.ReturnStatementContext ctx)
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:
visitReturnStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBecomeStatement
public T visitBecomeStatement(CocoParser.BecomeStatementContext ctx)
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:
visitBecomeStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
public T visitWhileStatement(CocoParser.WhileStatementContext ctx)
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:
visitWhileStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatement
public T visitForStatement(CocoParser.ForStatementContext ctx)
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:
visitForStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
public T visitBreakStatement(CocoParser.BreakStatementContext ctx)
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:
visitBreakStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
public T visitContinueStatement(CocoParser.ContinueStatementContext ctx)
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:
visitContinueStatementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPortElement
public T visitPortElement(CocoParser.PortElementContext ctx)
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:
visitPortElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionInterfaceDeclaration
public T visitFunctionInterfaceDeclaration(CocoParser.FunctionInterfaceDeclarationContext ctx)
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:
visitFunctionInterfaceDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSignalDeclaration
public T visitSignalDeclaration(CocoParser.SignalDeclarationContext ctx)
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:
visitSignalDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStateMachineDeclaration
public T visitStateMachineDeclaration(CocoParser.StateMachineDeclarationContext ctx)
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:
visitStateMachineDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStateMachineElement
public T visitStateMachineElement(CocoParser.StateMachineElementContext ctx)
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:
visitStateMachineElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStateDeclaration
public T visitStateDeclaration(CocoParser.StateDeclarationContext ctx)
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:
visitStateDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEventStateDeclaration
public T visitEventStateDeclaration(CocoParser.EventStateDeclarationContext ctx)
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:
visitEventStateDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExecutionStateDeclaration
public T visitExecutionStateDeclaration(CocoParser.ExecutionStateDeclarationContext ctx)
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:
visitExecutionStateDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEventStateElement
public T visitEventStateElement(CocoParser.EventStateElementContext ctx)
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:
visitEventStateElementin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEntryFunctionDeclaration
public T visitEntryFunctionDeclaration(CocoParser.EntryFunctionDeclarationContext ctx)
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:
visitEntryFunctionDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExitFunctionDeclaration
public T visitExitFunctionDeclaration(CocoParser.ExitFunctionDeclarationContext ctx)
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:
visitExitFunctionDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStateInvariant
public T visitStateInvariant(CocoParser.StateInvariantContext ctx)
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:
visitStateInvariantin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTransitionDeclaration
public T visitTransitionDeclaration(CocoParser.TransitionDeclarationContext ctx)
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:
visitTransitionDeclarationin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEventTransition
public T visitEventTransition(CocoParser.EventTransitionContext ctx)
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:
visitEventTransitionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEventSource
public T visitEventSource(CocoParser.EventSourceContext ctx)
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:
visitEventSourcein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSpontaneousTransition
public T visitSpontaneousTransition(CocoParser.SpontaneousTransitionContext ctx)
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:
visitSpontaneousTransitionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimerTransition
public T visitTimerTransition(CocoParser.TimerTransitionContext ctx)
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:
visitTimerTransitionin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEventHandler
public T visitEventHandler(CocoParser.EventHandlerContext ctx)
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:
visitEventHandlerin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOffer
public T visitOffer(CocoParser.OfferContext ctx)
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:
visitOfferin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOfferClauses
public T visitOfferClauses(CocoParser.OfferClausesContext ctx)
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:
visitOfferClausesin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOfferClause
public T visitOfferClause(CocoParser.OfferClauseContext ctx)
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:
visitOfferClausein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameters
public T visitParameters(CocoParser.ParametersContext ctx)
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:
visitParametersin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameter
public T visitParameter(CocoParser.ParameterContext ctx)
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:
visitParameterin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression_
public T visitLiteralExpression_(CocoParser.LiteralExpression_Context ctx)
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)
Visit a parse tree produced by theBinaryTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroupType
public T visitGroupType(CocoParser.GroupTypeContext ctx)
Visit a parse tree produced by theGroupTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGroupTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionType
public T visitFunctionType(CocoParser.FunctionTypeContext ctx)
Visit a parse tree produced by theFunctionTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryType
public T visitUnaryType(CocoParser.UnaryTypeContext ctx)
Visit a parse tree produced by theUnaryTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralType
public T visitLiteralType(CocoParser.LiteralTypeContext ctx)
Visit a parse tree produced by theLiteralTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeReference
public T visitTypeReference(CocoParser.TypeReferenceContext ctx)
Visit a parse tree produced by theTypeReferencelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeReferencein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReferenceType
public T visitReferenceType(CocoParser.ReferenceTypeContext ctx)
Visit a parse tree produced by theReferenceTypelabeled alternative inCocoParser.type().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitReferenceTypein interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypes
public T visitTypes(CocoParser.TypesContext ctx)
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:
visitTypesin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDotIdentifierList
public T visitDotIdentifierList(CocoParser.DotIdentifierListContext ctx)
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:
visitDotIdentifierListin interfaceCocoVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-