|
| |
| Navigation |
Synopsis Transform an AbstractSyntaxTree into a formatted string.
Description A pretty printer
Examples The program fragment
if(x > 10) { System.err.println("x > 10"); } else { System.err.println("x <= 10"); }
can be pretty printed in many different ways. Here are two variants examples:
if(x > 10) {
System.err.println("x > 10");
} else {
System.err.println("x <= 10");
}
if( x > 10 )
{
System.err.println("x > 10");
} else
{
System.err.println("x <= 10");
}
|