public override double Evaluate()
 {
     return(Op(LOperand.Evaluate(), ROperand.Evaluate(), IsDivision));
 }
Ejemplo n.º 2
0
 public override double Evaluate()
 {
     return(IsUnary
         ? UnaryOp(ROperand.Evaluate(), IsSubtraction)
         : BinaryOp(LOperand.Evaluate(), ROperand.Evaluate(), IsSubtraction));
 }