Package org.openquark.cal.internal.runtime.lecc

Examples of org.openquark.cal.internal.runtime.lecc.RTValue.apply()


        final RTRecordValue inputRecord = (RTRecordValue) record;
        RTValue result = generator;
        for (int i = 0, nFields = recordDict.getNFields(); i < nFields; ++i) {
            RTValue elem = inputRecord.getNthValue(i);
            RTValue fieldDict = recordDict.getNthValue(i);
            result = fieldDict.apply( indexOfCoArbitraryClassMethod, elem, result).evaluate($ec);
       }

        return result;
    }
View Full Code Here


            else
                elem = fieldDict.apply(index);
           
            //fill arguments using the param sources.
            for(RecordParamHelper param : paramSources) {
                elem = elem.apply(param.getNext($ec));
            }
           
            res.add(elem);
        }
        return res;
View Full Code Here

            else
                f = fieldDict.apply(indexValue);
           
            //fill f's arguments using the param sources.
            for(RecordParamHelper param : paramSources) {
                f = f.apply(param.getNext($ec));
            }
           
            elem = f.evaluate($ec);
           
            if (i < recordDict.getNOrdinalFields()) {
View Full Code Here

                throw new CALExecutorException.InternalException ("Unable to create start point instance for: " + entryPointSCName);
            }

            if (arguments != null) {
                for (int i = 0; i < arguments.length; ++i) {
                    startPoint = startPoint.apply(new RTData.CAL_Opaque(arguments[i]));
                }
            }
            startingInitialExecution();
            result = startPoint.evaluate(executionContext).getOpaqueValue();
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.