Exemplo n.º 1
0
        public double Visit(NegateOpNode caller)
        {
            double son = caller.Son.Accept(this);

            return(-son);
        }
Exemplo n.º 2
0
        public int Visit(NegateOpNode caller)
        {
            int son = caller.Son.Accept(this);

            return(checked (-son));
        }