Examples of expression()


Examples of org.hisrc.jscm.codemodel.statement.JSBlock.expression()

    relationalExpressions.expression(x.in(y));

    JSBlock shiftExpressions = relationalExpressions.block();

    shiftExpressions.expression(x.shl(y));
    shiftExpressions.expression(x.shr(y));
    shiftExpressions.expression(x.shrz(y));

    JSBlock additiveExpressions = shiftExpressions.block();

    additiveExpressions.expression(x.plus(y));
View Full Code Here

Examples of org.hisrc.jscm.codemodel.statement.JSBlock.expression()

    JSBlock shiftExpressions = relationalExpressions.block();

    shiftExpressions.expression(x.shl(y));
    shiftExpressions.expression(x.shr(y));
    shiftExpressions.expression(x.shrz(y));

    JSBlock additiveExpressions = shiftExpressions.block();

    additiveExpressions.expression(x.plus(y));
    additiveExpressions.expression(x.minus(y));
View Full Code Here

Examples of org.hisrc.jscm.codemodel.statement.JSForVarInStatement.expression()

      _forVar1.test(x1.lt(codeModel.integer(5))).update(x1.postIncr())
          .expression(y.plusAssign(x1));

      JSForVarInStatement _forVarIn = body.forVarIn("x3", y);
      JSVariable x3 = _forVarIn.getVariable();
      _forVarIn.expression(y.plusAssign(x3));

      body.doWhile(x.lt(y)).expression(x.postIncr());
      body.doWhile(x.lt(y)).block().expression(x.postIncr());

      body._while(x.lt(y)).expression(x.postIncr());
View Full Code Here

Examples of org.hisrc.jscm.codemodel.statement.JSSwitchStatement.JSCaseClause.expression()

      _default1.empty();
      _default1._return(codeModel.integer(2));

      JSSwitchStatement _switch2 = body._switch(x);
      JSCaseClause _case20 = _switch2._case(codeModel.integer(0));
      _case20.expression(x.postIncr());
      _case20._return(codeModel.integer(1));
      JSDefaultClause _default2 = _switch2._default();
      _default2.empty();
      _default2._return(codeModel.integer(2));
      JSCaseClause _case22 = _switch2._case(codeModel.integer(2));
View Full Code Here

Examples of org.richfaces.resource.ResourceParameter.expression()

                expectedType = propertyType;
            }

            ResourceParameter resourceParameter = getDependency();

            String expression = resourceParameter.expression();
            String name = resourceParameter.name();

            if (expression.length() != 0 && name.length() != 0) {
                throw new IllegalStateException(MessageFormat.format(
                    "'name' and 'expression' should not be specified simultaneously: {0}", resourceParameter));
View Full Code Here

Examples of org.springframework.data.elasticsearch.core.query.Criteria.expression()

      case SIMPLE_PROPERTY:
        return criteria.is(parameters.next());
      case NEGATING_SIMPLE_PROPERTY:
        return criteria.is(parameters.next()).not();
      case REGEX:
        return criteria.expression(parameters.next().toString());
      case LIKE:
      case STARTING_WITH:
        return criteria.startsWith(parameters.next().toString());
      case ENDING_WITH:
        return criteria.endsWith(parameters.next().toString());
View Full Code Here

Examples of org.springframework.data.solr.core.query.Criteria.expression()

      case IS_NULL:
        return criteria.isNull();
      case IS_NOT_NULL:
        return criteria.isNotNull();
      case REGEX:
        return criteria.expression(appendBoostAndGetParameterValue(criteria, parameters).toString());
      case LIKE:
      case STARTING_WITH:
        return criteria.startsWith(asStringArray(appendBoostAndGetParameterValue(criteria, parameters)));
      case NOT_LIKE:
        return criteria.startsWith(asStringArray(appendBoostAndGetParameterValue(criteria, parameters))).not();
View Full Code Here

Examples of org.springmodules.validation.commons.validwhen.ValidWhenParser.expression()

        parser.setForm(form);
        parser.setIndex(index);
        parser.setValue(value);

        try {
            parser.expression();
            valid = parser.getResult();

        } catch (Exception ex) {
            String msg = "ValidWhen Error for field ' " + field.getKey() + "' - " + ex;
            errors.rejectValue(field.getKey(), msg);
View Full Code Here

Examples of org.strecks.bind.annotation.BindSimple.expression()

  {

    BindSimple bindAnnotation = (BindSimple) annotation;
    BindSimpleHandler handler = new BindSimpleHandler();

    String expression = bindAnnotation.expression();

    String beanLocatingExpression = null;
    String propertyName = null;

    int lastDot = expression.lastIndexOf('.');
View Full Code Here

Examples of st.gravel.support.compiler.ast.PragmaNode.expression()

        @Override
        public PragmaNode value() {
          throw new NonLocalReturn(_aBlock.value(), _temp1);
        }
      }))));
      return ((LiteralNode) _pr.expression().arguments()[1]).value();
    } catch (NonLocalReturn nlr) {
      if (nlr.marker == _temp1) {
        return (Object) nlr.returnValue;
      } else {
        throw nlr;
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.