Esempio n. 1
0
    public override object VisitBody_returWhileReturn(FaParser.Body_returWhileReturnContext context)
    {
        object result = VisitWhile_return(context.while_return());

        if (result == null)
        {
            result = Visit(context.body_return());
        }
        return(result);
    }
Esempio n. 2
0
 /// <summary>
 /// Visit a parse tree produced by the <c>body_returWhileReturn</c>
 /// labeled alternative in <see cref="FaParser.body_return"/>.
 /// <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 VisitBody_returWhileReturn([NotNull] FaParser.Body_returWhileReturnContext context)
 {
     return(VisitChildren(context));
 }