public override void Print(IndentTextWriter writer) { writer.WriteIndent(); writer.WriteLine("For"); if (Initializer != null) { writer.WriteIndent(); writer.WriteLine("-Initializer"); writer.Indent += 2; Initializer.Print(writer); writer.Indent -= 2; } if (Condition != null) { writer.WriteIndent(); writer.WriteLine("-Condition"); writer.Indent += 2; Condition.Print(writer); writer.Indent -= 2; } if (Increment != null) { writer.WriteIndent(); writer.WriteLine("-Increment"); writer.Indent += 2; Increment.Print(writer); writer.Indent -= 2; } writer.WriteIndent(); writer.WriteLine("-Block"); writer.Indent += 2; Block.Print(writer); writer.Indent -= 2; }