Exemple #1
0
    void ExitUnaryplus([NotNull] RussianParser.UnaryplusContext context)
    {
        string Unaryplus, a;

        a         = MyStack.Pop();
        Unaryplus = " + " + a;
        MyStack.push(Unaryplus);
    }
Exemple #2
0
 /// <summary>
 /// Exit a parse tree produced by the <c>unaryplus</c>
 /// labeled alternative in <see cref="RussianParser.expr"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitUnaryplus([NotNull] RussianParser.UnaryplusContext context)
 {
 }