Package org.eclipse.cdt.core.dom.ast.cpp

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

Related Classes of org.eclipse.cdt.core.dom.ast.cpp.ICPPASTWhileStatement

Copyright © 2018 www.massapicom. 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.