Package railo.runtime.interpreter.ref.op

Examples of railo.runtime.interpreter.ref.op.BigPlus


    // +=
    if (cfml.isCurrent('=')) {
      cfml.next();
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = preciseMath?new BigPlus(ref,right):new Plus(ref,right);
      ref=new Assign(ref,res);
    }
    /*/ ++
    else if (cfml.isCurrent('+')) {
      cfml.next();
      cfml.removeSpace();
      Ref res = new Plus(ref,new LNumber(new Double(1)));
      ref=new Assign(ref,res);
      ref=new Minus(ref,new LNumber(new Double(1)));
    }*/
    else
            cfml.removeSpace();
            ref=preciseMath?new BigPlus(ref,modOp()):new Plus(ref,modOp());
    }
    return ref;
  }
View Full Code Here


    return ref;
  }
   
    private Ref _unaryOp(Ref ref,boolean isPlus) throws PageException {
        cfml.removeSpace();
    Ref res = preciseMath?new BigPlus(ref,isPlus?PLUS_ONE:MINUS_ONE):new Plus(ref,isPlus?PLUS_ONE:MINUS_ONE);
    ref=new Assign(ref,res);
    return preciseMath?new BigPlus(ref,isPlus?MINUS_ONE:PLUS_ONE):new Plus(ref,isPlus?MINUS_ONE:PLUS_ONE);
  }
View Full Code Here

        }
        if (cfml.forwardIfCurrent('+')) {
          if (cfml.forwardIfCurrent('+')) {
            cfml.removeSpace();
        Ref expr = clip();
        Ref res = preciseMath?new BigPlus(expr,new LNumber(new Double(1))):new Plus(expr,new LNumber(new Double(1)));
        return new Assign(expr,res);
      }
          cfml.removeSpace();
          return new Casting("numeric",CFTypes.TYPE_NUMERIC,clip());
         
View Full Code Here

TOP

Related Classes of railo.runtime.interpreter.ref.op.BigPlus

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.