Package railo.runtime.type.scope

Examples of railo.runtime.type.scope.ArgumentImpl


    public Object onMissingMethod(PageContext pc, int access,Member member,String name,Object _args[],Struct _namedArgs, boolean superAccess) throws PageException {
      Member ommm = access==-1?
          getMember(pc,KeyConstants._onmissingmethod,false, superAccess):
          getMember(access,KeyConstants._onmissingmethod,false, superAccess);
        if(ommm instanceof UDF) {
          Argument args=new ArgumentImpl();
          if(_args!=null) {
            for(int i=0;i<_args.length;i++) {
              args.setEL(ArgumentIntKey.init(i+1), _args[i]);
            }
          }
          else if(_namedArgs!=null) {
            UDFUtil.argumentCollection(_namedArgs, new FunctionArgument[]{});
           
            Iterator<Entry<Key, Object>> it = _namedArgs.entryIterator();
            Entry<Key, Object> e;
            while(it.hasNext()){
              e = it.next();
              args.setEL(e.getKey(),e.getValue());
            }
           
          }
         
          //Struct newArgs=new StructImpl(StructImpl.TYPE_SYNC);
View Full Code Here

TOP

Related Classes of railo.runtime.type.scope.ArgumentImpl

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.