示例#1
0
        public double Visit(NegateOpNode caller)
        {
            double son = caller.Son.Accept(this);

            return(-son);
        }
示例#2
0
        public int Visit(NegateOpNode caller)
        {
            int son = caller.Son.Accept(this);

            return(checked (-son));
        }