Skip to content
Snippets Groups Projects
Commit da567ba2 authored by Johannes Mey's avatar Johannes Mey
Browse files

add new constructor for PrettyPrinter

parent 8f9a27bf
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,18 @@ public class PrettyPrinter {
private boolean useColons;
private int lineLength;
public PrettyPrinter(String indenter) {
s = new StringBuilder();
this.indenter = indenter;
this.uppercase = false;
this.indent = 0;
this.newline = false;
this.bof = true;
this.useColons = false;
this.lineLength = 84;
}
public PrettyPrinter(String indenter, boolean uppercase) {
s = new StringBuilder();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment