Пример #1
0
 public bool visitLeave(GreaterCondition greaterCondition)
 {
     return true;
 }
Пример #2
0
        public virtual bool visitLeave(GreaterCondition 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.greater(b);

            evaluation.Push(c);

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