package node; public class Out { final static int TABSIZE = 4; static int column = 0; public static void print( int indent, String s ) { for ( ; column < TABSIZE * indent; column++ ) System.out.print( ' ' ); System.out.print( s ); column += s.length(); } public static void print( int indent, char c ) { for ( ; column < TABSIZE * indent; column++ ) System.out.print( ' ' ); System.out.print( c ); column++; } public static void newline() { System.out.println(); column = 0; } }