Ejemplo n.º 1
0
 public override ExpressionToken Calc(ExpressionToken left, ExpressionToken right)
 {
     return(new ExpressionTokenValue(left.Value - right.Value));
 }
Ejemplo n.º 2
0
 public virtual ExpressionToken Calc(ExpressionToken left, ExpressionToken right)
 {
     throw new InvalidOperationException(string.Format("Calculating for {0}", this.GetType()));
 }