Exemple #1
0
        public Value Visit(Equal node)
        {
            Value left  = node.Left().Accept(this);
            Value right = node.Right().Accept(this);

            return(left.Equal(right));
        }
Exemple #2
0
        public override Value Visit(Equal node)
        {
            Value left  = node.Left().Accept(this);
            Value right = node.Right().Accept(this);

            return(left.BoolEqual((dynamic)right));
        }