Package railo.runtime.interpreter.ref.literal

Examples of railo.runtime.interpreter.ref.literal.LNumber


        // 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());
         
        }
        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


                throw new InterpreterException("Number can't end with [.]");
            //rtn.append(rightSite);
        }
        cfml.removeSpace();
        mode=STATIC;
        return new LNumber(rtn.toString());
       
    }
View Full Code Here

TOP

Related Classes of railo.runtime.interpreter.ref.literal.LNumber

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.