private void printToken(String s) { for (int i = 0; i < s.length(); ++i) { if (s.charAt(i) == '\n') { ++curLine; curColumn = 1; } else curColumn++; out.print(s.charAt(i)); } out.flush(); }
/** Flushes the OutputStream or Writer that this TreeDumper is using. */ public void flushWriter() { out.flush(); }