* @param md
* @param indent
* @return the formatted code
*/
private String format(String input, ModuleDeclaration md, List<CommonToken> comments, int indent) {
final FormatterDocument document = createDocument(input);
// compute new (formatted) document structure
RutaFormattedPrinter tmfp = new RutaFormattedPrinter(document, lineDelimiter,
createIndentGenerator(), comments, this);
try {