Exemple #1
0
 public void ToPseudocode(StringBuilder sb, bool isStatement, bool numeric)
 {
     if (sb == null)
     {
         throw new ArgumentNullException(nameof(sb));
     }
     sb.Append("if (");
     Condition.ToPseudocode(sb, false, numeric);
     sb.Append(") { ");
     True?.ToPseudocode(sb, true, numeric);
     sb.Append("} else { ");
     False.ToPseudocode(sb, true, numeric);
     sb.Append("} ");
 }