Пример #1
0
 public bool visitLeave(SmallerCondition smallerCondition)
 {
     return true;
 }
Пример #2
0
        public virtual bool visitLeave(SmallerCondition condition)
        {
            //a
            var b = evaluation.Pop();
            //b
            var a = evaluation.Pop();

            // equal b to a
            Console.Error.WriteLine("EVAL - " + a.getText() + " < " + b.getText());
            var c = a.smaller(b);

            evaluation.Push(c);

            return true;
        }
Пример #3
0
 public bool visitEnter(SmallerCondition smallerCondition)
 {
     return true;
 }