Package railo.runtime.interpreter.ref.var

Examples of railo.runtime.interpreter.ref.var.Assign


            cfml.removeSpace();
            if(mode==STATIC || ref instanceof Literal) {
                ref=new DynAssign(ref,assignOp());
            }
            else {
                ref=new Assign(ref,assignOp());
            }
        }
        return ref;
    }
View Full Code Here


    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();
View Full Code Here

    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();
View Full Code Here

    // /=
    if (cfml.forwardIfCurrent('=')) {
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = preciseMath?new BigDiv(ref, right):new Div(ref,right);
      ref=new Assign(ref,res);
    }
    else
            cfml.removeSpace();
            ref=preciseMath?new BigDiv(ref,expoOp()):new Div(ref,expoOp());
    }
View Full Code Here

    // \=
    if (cfml.forwardIfCurrent('=')) {
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = preciseMath?new BigIntDiv(ref,right):new IntDiv(ref,right);
      ref=new Assign(ref,res);
    }
    else
            cfml.removeSpace();
            ref=preciseMath?new BigIntDiv(ref,expoOp()):new IntDiv(ref,expoOp());
    }
View Full Code Here

    // %=
    if (cfml.forwardIfCurrent('=')) {
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = preciseMath?new BigMod(ref,right):new Mod(ref,right);
      ref=new Assign(ref,res);
    }
    else
            cfml.removeSpace();
            ref=preciseMath?new BigMod(ref,divMultiOp()):new Mod(ref,divMultiOp());
    }
View Full Code Here

    // &=
    if (cfml.forwardIfCurrent('=')) {
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = new  Concat(ref,right);
      ref=new Assign(ref,res);
    }
    else
            cfml.removeSpace();
            ref=new Concat(ref,plusMinusOp());
    }
View Full Code Here

    // \=
    if (cfml.forwardIfCurrent('=')) {
      cfml.removeSpace();
      Ref right = assignOp();
      Ref res = preciseMath?new BigMulti(ref,right):new Multi(ref,right);
      ref=new Assign(ref,res);
    }
    else
            cfml.removeSpace();
            ref=preciseMath?new BigMulti(ref,expoOp()):new Multi(ref,expoOp());
    }
View Full Code Here

  }
   
    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 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

TOP

Related Classes of railo.runtime.interpreter.ref.var.Assign

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.