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

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


  }

  private IASTExpression convertCastExpression(final CastExpression castExpression) {
    final int operator = ICPPASTCastExpression.op_static_cast;
    final TypeInfo type = new TypeInfo(castExpression.getType(), compilationUnitInfo);
    final ICPPASTTypeId typeId = f.newTypeId(type.getDeclSpecifier(), null);
    final IASTExpression expr = new ExpressionInfo(castExpression.getExpression(), typeDeclaration, compilationUnitInfo).getExpression();
    return f.newCastExpression(operator, typeId, expr);
  }
View Full Code Here

TOP

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

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.