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

            return(left.Substract(right));
        }
예제 #2
0
        public override Value Visit(Subtract node)
        {
            Value left  = node.Left().Accept(this);
            Value right = node.Right().Accept(this);

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