Examples of ICPPASTForStatement


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

  private void writeForStatement(final IASTForStatement forStatement) {
    scribe.noNewLines();
    scribe.print(FOR);
    writeStatement(forStatement.getInitializerStatement(), false);
    if (forStatement instanceof ICPPASTForStatement) {
      final ICPPASTForStatement cppForStatment = (ICPPASTForStatement) forStatement;
      final IASTDeclaration cppConditionDeclaration = cppForStatment.getConditionDeclaration();
      if (cppConditionDeclaration == null) {
        visitNodeIfNotNull(cppForStatment.getConditionExpression());
        scribe.printSemicolon();
      } else {
        cppConditionDeclaration.accept(visitor);
      }
    } else {
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.