Examples of ICPPASTWhileStatement


Examples of org.eclipse.cdt.core.dom.ast.cpp.ICPPASTWhileStatement

  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(')');
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.