Method Summary |
|
public Printer | align(int printed, int alignment) Print whitespace to align the output. |
public Printer | align(int alignment) Print whitespace to align the output. |
public Printer | decr() Decrease the current indentation level. |
public Printer | escape(char c, int flags) Print the specified character with the specified escape sequences.
See Also: Utilities Parameters: c - The character to print. Parameters: flags - The escape flags. |
public Printer | escape(String s, int flags) Print the specified string with the specified escape sequences.
See Also: Utilities Parameters: s - The string to print. Parameters: flags - The escape flags. |
public Printer | incr() Increase the current indentation level. |
public Printer | indent() Indent. |
public Printer | indentLess() Indent one tab stop less than the current indentation level. |
public Printer | loc(Node node) Print the original location for the specified node. |
public Printer | p(char c) Print the specified character.
Parameters: c - The character to print. |
public Printer | p(int i) Print the specified integer.
Parameters: i - The integer to print. |
public Printer | p(String s) Print the specified string.
Parameters: s - The string to print. |
public Printer | p(Node node) Print the specified node. |
public Printer | p(Collection coll) Print the specified collection of nodes. |
public Printer | p(Collection coll, String before, String sep) Print the specified collection of nodes. |
public Printer | pln(char c) Print the specified character followed by a newline.
Parameters: c - The character to print. |
public Printer | pln(int i) Print the specified integer followed by a newline.
Parameters: i - The integer to print. |
public Printer | pln(String s) Print the specified string followed by a newline.
Parameters: s - The string to print. |
public Printer | pln() Print a newline. |
public Printer | sep() Print an indented separation comment. |