/// <summary> /// Visits a divide expression. /// </summary> /// <param name="divideExpression"></param> public double VisitDivideExpression(DivideExpression divideExpression) { double op0 = divideExpression.Op0.Evaluate(); double op1 = divideExpression.Op1.Evaluate(); return(op0 / op1); }
/// <summary> /// Visits a divide expression. /// </summary> /// <param name="divideExpression"></param> public string VisitDivideExpression(DivideExpression divideExpression) { return(""); }