Beispiel #1
0
 public bool visitLeave(NotEqualCondition notEqualCondition)
 {
     return true;
 }
        public virtual bool visitLeave(NotEqualCondition 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.notEquals(b);

            evaluation.Push(c);

            return true;
        }
Beispiel #3
0
 public bool visitEnter(NotEqualCondition notEqualCondition)
 {
     return true;
 }