Пример #1
0
    void ExitCos([NotNull] RussianParser.CosContext context)
    {
        string cos, a;

        a   = MyStack.Pop();
        cos = " \cos (" + a + ")";
        MyStack.Push(cos);
    }
Пример #2
0
 /// <summary>
 /// Exit a parse tree produced by the <c>Cos</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 ExitCos([NotNull] RussianParser.CosContext context)
 {
 }