Beispiel #1
0
 public override String Print(int depth)
 {
     return(" new " + Type.Print(depth) + "[" + Lower.Print(depth) + ".." + Upper.Print(depth) + "]");
 }
Beispiel #2
0
 public override string Print(int depth)
 {
     return("for (" + TempVariable.Print(depth) + " in [" + Lower.Print(depth) + " .. " + Upper.Print(depth) + "])"
            + NewLine(depth + 1) + Body.Print(depth + 1));
 }