Esempio n. 1
0
    void ExitMod([NotNull] RussianParser.ModContext context)
    {
        string mod, a, b;

        a   = MyStack.Pop();
        b   = MyStack.Pop();
        mod = a + " \bmod " + b;
        MyStack.Push(mod);
    }
Esempio n. 2
0
 /// <summary>
 /// Exit a parse tree produced by the <c>Mod</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 ExitMod([NotNull] RussianParser.ModContext context)
 {
 }