Package railo.runtime.interpreter.ref.op

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


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


        // And Operation
        if (cfml.forwardIfCurrent('-')) {
          if (cfml.forwardIfCurrent('-')) {
            cfml.removeSpace();
        Ref expr = clip();
        Ref res = preciseMath?new BigMinus(expr,new LNumber(new Double(1))):new Minus(expr,new LNumber(new Double(1)));
        return new Assign(expr,res);
     
            cfml.removeSpace();
            return new Negate(clip());
         
View Full Code Here

TOP

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

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.