Examples of ICPPASTIfStatement


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

  private void writeIfStatement(final IASTIfStatement ifStatement) {
    scribe.print(IF);
    scribe.noNewLines();
    if (ifStatement instanceof ICPPASTIfStatement) {
      final ICPPASTIfStatement cppIfStatment = (ICPPASTIfStatement) ifStatement;

      if (cppIfStatment.getConditionDeclaration() == null) {
        cppIfStatment.getConditionExpression().accept(visitor);
      } else {
        writeDeclarationWithoutSemicolon(cppIfStatment.getConditionDeclaration());
      }
    } else {
      ifStatement.getConditionExpression().accept(visitor);
    }
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.