Examples of LongLiteral


Examples of loop.ast.LongLiteral

    switch (token.kind) {
      case INTEGER:
        return new IntLiteral(token.value);
      case LONG:
        return new LongLiteral(token.value);
      case STRING:
        return new StringLiteral(token.value);
      case REGEX:
        return new RegexLiteral(token.value);
    }
View Full Code Here

Examples of org.apache.expreval.expr.literal.LongLiteral

                if (obj instanceof Integer)
                    return new IntegerLiteral((Integer)obj);

                if (obj instanceof Long)
                    return new LongLiteral((Long)obj);

                if (obj instanceof Float)
                    return new FloatLiteral((Float)obj);

                if (obj instanceof Double)
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.LongLiteral

        r = new UnaryExpression(exp, op);
      } else {
        r = convertToMinValue;
      }
    } else if (exp instanceof LongLiteral) {
      LongLiteral longLiteral = (LongLiteral) exp;
      LongLiteral convertToMinValue = longLiteral.convertToMinValue();
      if (convertToMinValue ==  longLiteral) {
        // not a min value literal so we convert it to an unary expression
        r = new UnaryExpression(exp, op);
      } else {
        r = convertToMinValue;
View Full Code Here

Examples of rocket.generator.rebind.codeblock.LongLiteral

      if (type == context.getInt()) {
        literal = new IntLiteral(this.getIntValue());
        break;
      }
      if (type == context.getLong()) {
        literal = new LongLiteral(this.getLongValue());
        break;
      }
      if (type == context.getFloat()) {
        literal = new FloatLiteral(this.getFloatValue());
        break;
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.