Esempio n. 1
0
    public override object VisitBody_returnSwitchReturn(FaParser.Body_returnSwitchReturnContext context)
    {
        object result = VisitSwitch_return(context.switch_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_returnSwitchReturn</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_returnSwitchReturn([NotNull] FaParser.Body_returnSwitchReturnContext context)
 {
     return(VisitChildren(context));
 }