public override Func <Context, IType> VisitArrowtype_arrow([NotNull] FullSimpleParser.Arrowtype_arrowContext context) { var atype = _aTypeVisitor.Visit(context.atype()); var arrType = Visit(context.arrowtype()); return(ctx => new TypeArrow(atype(ctx), arrType(ctx))); }
/// <summary> /// Visit a parse tree produced by the <c>arrowtype_arrow</c> /// labeled alternative in <see cref="FullSimpleParser.arrowtype"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitArrowtype_arrow([NotNull] FullSimpleParser.Arrowtype_arrowContext context) { return(VisitChildren(context)); }