private void writeWhileStatement(final IASTWhileStatement whileStatment) {
scribe.print(WHILE);
scribe.noNewLines();
if (whileStatment instanceof ICPPASTWhileStatement) {
final ICPPASTWhileStatement cppWhileStatment = (ICPPASTWhileStatement) whileStatment;
if (cppWhileStatment.getConditionDeclaration() == null) {
cppWhileStatment.getCondition().accept(visitor);
} else {
writeDeclarationWithoutSemicolon(cppWhileStatment.getConditionDeclaration());
}
} else {
whileStatment.getCondition().accept(visitor);
}
scribe.print(')');