예제 #1
0
 public static string Print(CodeUnitBlock block)
 {
     PrettyPrinter visitor = new PrettyPrinter();
     block.AcceptVisitor(visitor);
     return visitor.ToString();
 }
예제 #2
0
 public string PrettyPrint()
 {
     return(PrettyPrinter.Print(this));
 }