code: private void indent() throws RuntimeException {
  		if(pretty) {
  			try {
  				w.write("\n");
  				w.write(indentSpaces(indent));
  			} catch (IOException e) {
  				throw new RuntimeException(e);
  			}
  		}
  	}
docs: TODO