Examples of BIFCall


Examples of railo.runtime.interpreter.ref.func.BIFCall

        refs.add(new Casting(strType,type,coll));
        for(int y=0;y<args.length;y++){
          arg = _args.get(y+1);
          refs.add(new Casting(arg.getTypeAsString(),arg.getType(),args[y]));
        }
        return new BIFCall(coll, member, refs.toArray(new Ref[refs.size()])).getValue(pc);
      }
     
    }
    if(pc.getConfig().getSecurityManager().getAccess(railo.runtime.security.SecurityManager.TYPE_DIRECT_JAVA_ACCESS)==railo.runtime.security.SecurityManager.VALUE_YES) {
      return Reflector.callMethod(coll,methodName,args);
View Full Code Here

Examples of railo.runtime.interpreter.ref.func.BIFCall

            refs.add(new Casting(arg.getTypeAsString(),arg.getType(),new LFunctionValue(new LString(arg.getName()),val)));
            //refs.add(new LFunctionValue(new LString(arg.getName()),new Casting(pc,arg.getTypeAsString(),arg.getType(),val)));
          }
         
        }
        return new BIFCall(coll,member, refs.toArray(new Ref[refs.size()])).getValue(pc);
      }
     
    }
    throw new ExpressionException("No matching function member ["+methodName+"] for call with named arguments found, available function members are ["+railo.runtime.type.util.ListUtil.sort(CollectionUtil.getKeyList(members.keySet().iterator(), ","),"textnocase","asc",",")+"]");
  }
View Full Code Here

Examples of railo.runtime.interpreter.ref.func.BIFCall

    Ref[] args = functionArg(flf.getName(), false, flf,end);
   
    //if (!cfml.forwardIfCurrent(end))
    //  throw new InterpreterException("Invalid Syntax Closing ["+end+"] not found");
   
    return new BIFCall(flf,args);
  }
View Full Code Here

Examples of railo.runtime.interpreter.ref.func.BIFCall

        // check function
        if (cfml.isCurrent('(')) {
            FunctionLibFunction function = fld.getFunction(name);
            Ref[] arguments = functionArg(name,true, function,')');
          //print.out(name+":"+(function!=null));
            if(function!=null) return new BIFCall(function,arguments);

            Ref ref = new railo.runtime.interpreter.ref.var.Scope(Scope.SCOPE_UNDEFINED);
            return new UDFCall(ref,name,arguments);
        }
        //check scope
View Full Code Here

Examples of railo.runtime.interpreter.ref.func.BIFCall

            Ref[] args=new Ref[arguments.length+1];
            for(int i=0;i<arguments.length;i++){
              args[i]=arguments[i];
            }
            args[args.length-1]=refName;
            BIFCall bif = new BIFCall(function,args);
          cfml.removeSpace();
          return bif;
         
     
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.