645646647648649650651652653654655
} } else if (node instanceof ICPPASTNamespaceDefinition) { writer.newLine(); } precedingNode = null; newNode.accept(writer); } if (node instanceof ICPPASTNamespaceDefinition) { writer.newLine(); } addToRootEdit(node);
693694695696697698699700701702703
if (ASTWriter.requireBlankLineInBetween(prevNode, newNode)) { writer.newLine(); } } } newNode.accept(writer); // TODO(sprigogin): Temporary workaround for invalid handling of line breaks in // StatementWriter if (!writer.toString().endsWith("\n")) { writer.newLine(); }