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

            return(left.Equal(right));
        }
예제 #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));
        }