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

Examples of org.eclipse.cdt.core.dom.ast.IASTLiteralExpression


      //IASTIdExpression id = (IASTIdExpression) expr;
      //System.err.println(id.getName().getBinding());
      finalExpr = new Expression(expr.getRawSignature());
      return PROCESS_SKIP;
    } else if (expr instanceof IASTLiteralExpression) {
      IASTLiteralExpression literal = (IASTLiteralExpression) expr;
      try {
        int value = Integer.parseInt(literal.getRawSignature());
        finalExpr = new Expression(value);
      } catch (NumberFormatException ex){
        //finalExpr = new Expression(expr.getRawSignature());
        finalExpr = new Expression(1000);
      }
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.dom.ast.IASTLiteralExpression

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.