Esempio n. 1
0
 public override string IntoString()
 {
     if (Else != null)
     {
         return("if" + Condition.IntoString() + ", then" + Then.IntoString() + ", else " + Else.IntoString());
     }
     else
     {
         return("if" + Condition.IntoString() + ", then" + Then.IntoString());
     }
 }
Esempio n. 2
0
 public override string IntoString()
 {
     return("while" + Condition.IntoString() + ", " + Body.IntoString());
 }