Examples of Expr


Examples of at.bestsolution.efxclipse.tooling.decora.decoraDsl.Expr

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetE(Expr newE, NotificationChain msgs)
  {
    Expr oldE = e;
    e = newE;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DecoraDslPackage.SELECTION_STATEMENT__E, oldE, newE);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

Examples of avrora.core.isdl.ast.Expr

    private int computeBitWidth() {
        int accum = 0;
        Iterator i = fields.iterator();
        while (i.hasNext()) {
            Expr e = (Expr)i.next();
            accum += e.getBitWidth();
        }
        return accum;
    }
View Full Code Here

Examples of avrora.syntax.Expr

    jj_consume_token(154);
      module.addQuotedLabel(tok);
  }

  final public SyntacticOperand.Expr Const() throws ParseException {
                                  Expr e;
    if (jj_2_8(2147483647)) {
      e = RelExpr();
    } else {
      switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
      case INTEGER_LITERAL:
View Full Code Here

Examples of com.caucho.db.sql.Expr

   * Binds the expression to the actual tables.
   */
  public Expr bind(Query query)
    throws SQLException
  {
    Expr newLeft = _left.bind(query);
    Expr newRight = _right.bind(query);

    return new BitandExpr(newLeft, newRight);
  }
View Full Code Here

Examples of com.caucho.db.sql.Expr

        os.print(" UNIQUE");

      if (column.isNotNull())
        os.print(" NOT NULL");

      Expr defaultExpr = column.getDefault();

      if (defaultExpr != null) {
        os.print(" DEFAULT (");
        os.print(defaultExpr);
        os.print(")");
View Full Code Here

Examples of com.caucho.db.sql.Expr

      for (int i = rowOffset + _rowLength - 1; rowOffset < i; i--)
        buffer[i] = 0;

      for (int i = 0; i < columns.size(); i++) {
        Column column = columns.get(i);
        Expr value = values.get(i);

        column.setExpr(xa, buffer, rowOffset, value, queryContext);
      }

      // lock for insert, i.e. entries, indices, and validation
View Full Code Here

Examples of com.caucho.el.Expr

        out.print("com.caucho.el.Expr.toStream(out, ");
        out.print(generateRTValue(String.class, _default));
        out.println(", " + escapeXml + ");");
      }
      else {
        Expr defaultExpr = new JspELParser(_gen.getELContext(),
                                           _default).parse();

        if (defaultExpr.isConstant() && escapeXml.equals("true")) {
          String string = defaultExpr.evalString(null);

          if (string != null && ! string.equals("")) {
            out.print("com.caucho.el.Expr.toStreamEscaped(out, \"");
            out.printJavaString(string);
            out.println("\");");
          }
        }
        else if (defaultExpr.isConstant() && escapeXml.equals("false")) {
          String string = defaultExpr.evalString(null);

          if (string != null && ! string.equals("")) {
            out.addText(string);
          }
        }
View Full Code Here

Examples of com.caucho.quercus.expr.Expr

    Location location = _location;

    if (location != null)
      return location;

    Expr call = peekCall(0);

    if (call != null)
      return call.getLocation();

    return Location.UNKNOWN;
  }
View Full Code Here

Examples of com.caucho.xpath.Expr

      name = printSelectBegin(select.getParent(), isForEach, loopVar);

      println(posId + "++;");
     
      FilterPattern pat = (FilterPattern) select;
      Expr expr = pat.getExpr();

      if (expr instanceof NumericExpr) {
        NumericExpr num = (NumericExpr) expr;
        if (num.isConstant()) {
          println("if (" + posId + " > " + (int) num.getValue() + ")");
View Full Code Here

Examples of com.caucho.xpath.Expr

    else if (select instanceof FilterPattern) {
      if (! allowJavaSelect(select.getParent()))
        return false;

      Expr expr = ((FilterPattern) select).getExpr();

      return ((expr instanceof NumericExpr) &&
              ((NumericExpr) expr).isConstant());
    }
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.