Package railo.runtime.interpreter.ref

Examples of railo.runtime.interpreter.ref.Ref


    * <code>plusMinusOp {"&" spaces concatOp};</code>
    * @return CFXD Element
    * @throws PageException
    */
    private Ref concatOp() throws PageException {
        Ref ref = plusMinusOp();
       
        while(cfml.isCurrent('&') && !cfml.isNext('&')) {
            cfml.next();
            ref=_concat(ref);
            //cfml.removeSpace();
View Full Code Here


    * <code>modOp [("-"|"+") spaces plusMinusOp];</code>
    * @return CFXD Element
    * @throws PageException
    */
    private Ref plusMinusOp() throws PageException {
        Ref ref = modOp();
       
        while(!cfml.isLast()) {
            // Plus Operation
            if (cfml.forwardIfCurrent('+')) {
                ref=_plus(ref);
View Full Code Here

    private Ref _plus(Ref ref) throws PageException {
    // +=
    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();
View Full Code Here

    private Ref _minus(Ref ref) throws PageException {
    // -=
    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();
View Full Code Here

    private Ref _div(Ref ref) throws PageException {
    // /=
    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

   
    private Ref _intdiv(Ref ref) throws PageException {
    // \=
    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

    private Ref _mod(Ref ref) throws PageException {
    // %=
    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

  }
    private Ref _concat(Ref ref) throws PageException {
    // &=
    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

   
    private Ref _multi(Ref ref) throws PageException {
    // \=
    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

    * <code>divMultiOp {("mod" | "%") spaces divMultiOp}; (* modulus operator , "%" Existiert in CFMX nicht *)</code>
    * @return CFXD Element
    * @throws PageException
    */
    private Ref modOp() throws PageException {
        Ref ref = divMultiOp();
       
        while(cfml.isValidIndex() && (cfml.forwardIfCurrent('%') || cfml.forwardIfCurrent("mod"))) {
            ref=_mod(ref);
         
          //cfml.removeSpace();
View Full Code Here

TOP

Related Classes of railo.runtime.interpreter.ref.Ref

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.