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

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


    IASTExpression iterationExpression;
    if (forStatement.updaters().isEmpty()) {
      iterationExpression = f.newIdExpression(f.newName());
    } else {
      final ICPPASTExpressionList expressionList = f.newExpressionList();
      for (final Object updaterObject : forStatement.updaters()) {
        final IASTExpression updater = new ExpressionInfo((Expression) updaterObject, typeDeclaration, compilationUnitInfo).getExpression();
        expressionList.addExpression(updater);
      }
      iterationExpression = expressionList;
    }

    final StatementInfo body = new StatementInfo(forStatement.getBody(), typeDeclaration, compilationUnitInfo);
View Full Code Here

TOP

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

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.