package org.spoofax.interpreter.terms;

public class InlinePrinter implements ITermPrinter {
	private final StringBuilder out;
	
	public InlinePrinter() {
		out = new StringBuilder();
	}
	
	public String getString() {
		return out.toString();
	}

	public void print(String string) {
		if (string.matches("^ *$")) {
			return ;
		}
		out.append(string);
	}

	public void indent(int i) {
	}

	public void nextIndentOff() {
	}

	public void outdent(int i) {
	}

	public void println(String string, boolean b) {
		if (string.matches("^ *$")) {
			return ;
		}
		out.append(string);
	}

	public void println(String string) {
		out.append(string);
	}
}

@@ -442,32 +442,152 @@
 dent(int i) %7B%0A%09%7D
+%0A%09%0A%09@Override%0A%09public String toString() %7B%0A%09    return getString();%0A%09%7D%0A%09%0A%09public void reset() %7B%0A%09    out.setLength(0);%0A%09%7D
 %0A%0A%09public void p

Build fixes.