Package railo.transformer.bytecode.op

Examples of railo.transformer.bytecode.op.OpVariable


      if (data.cfml.isCurrent('=') && expr instanceof Variable) {
        data.cfml.next();
        comments(data);
        Expression right = assignOp(data);
        ExprString res = OpString.toExprString(expr, right);
        expr=new OpVariable((Variable)expr,res);
      }
      else {
              comments(data);
              expr=OpString.toExprString(expr, plusMinusOp(data));
      }
View Full Code Here


    if (data.cfml.isCurrent('=') && expr instanceof Variable) {
      data.cfml.next();
      comments(data);
      Expression right = assignOp(data);
      ExprDouble res = OpDouble.toExprDouble(expr, right,opr);
      expr=new OpVariable((Variable)expr,res);
    }
    /*/ ++
    else if (data.cfml.isCurrent(opr==OpDouble.PLUS?'+':'-') && expr instanceof Variable) {
      data.cfml.next();
      comments(data);
View Full Code Here

    if (data.cfml.isCurrent('=') && expr instanceof Variable) {
      data.cfml.next();
      comments(data);
      Expression right = assignOp(data);
      ExprDouble res = OpDouble.toExprDouble(expr, right,OpDouble.MODULUS);
      return new OpVariable((Variable)expr,res);
    }
        comments(data);
        return OpDouble.toExprDouble(expr, expoOp(data), OpDouble.MODULUS);
  }
View Full Code Here

    if (data.cfml.isCurrent('=') && expr instanceof Variable) {
      data.cfml.next();
      comments(data);
      Expression right = assignOp(data);
      ExprDouble res = OpDouble.toExprDouble(expr, right,iOp);
      return new OpVariable((Variable)expr,res);
    }
        comments(data);
        return OpDouble.toExprDouble(expr, expoOp(data), iOp);
  }
View Full Code Here

      start=leftEnd;
      end=new Position(leftEnd.line, leftEnd.column+2, leftEnd.pos+2);
    }
   
    ExprDouble res = OpDouble.toExprDouble(expr, LitDouble.toExprDouble(1D,start,end),opr);
    expr=new OpVariable((Variable)expr,res);
    return OpDouble.toExprDouble(expr,LitDouble.toExprDouble(1D,start,end),opr==OpDouble.PLUS? OpDouble.MINUS:OpDouble.PLUS);
  }
View Full Code Here

    if (data.cfml.forwardIfCurrent('-')) {
      if (data.cfml.forwardIfCurrent('-')) {
        comments(data);
        Expression expr = clip(data);
        ExprDouble res = OpDouble.toExprDouble(expr, LitDouble.toExprDouble(1D),OpDouble.MINUS);
        return new OpVariable((Variable)expr,res);
      }
      comments(data);
      return OpNegateNumber.toExprDouble(clip(data),OpNegateNumber.MINUS,line,data.cfml.getPosition());
     
    }
    else if (data.cfml.forwardIfCurrent('+')) {
      if (data.cfml.forwardIfCurrent('+')) {
        comments(data);
        Expression expr = clip(data);
        ExprDouble res = OpDouble.toExprDouble(expr, LitDouble.toExprDouble(1D),OpDouble.PLUS);
        return new OpVariable((Variable)expr,res);
      }
      comments(data);
      return CastDouble.toExprDouble(clip(data));//OpNegateNumber.toExprDouble(clip(),OpNegateNumber.PLUS,line);
    }
    return clip(data);
View Full Code Here

TOP

Related Classes of railo.transformer.bytecode.op.OpVariable

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.