Esempio n. 1
0
        internal void buildHighOrderFunction()
        {
            //高阶函数构造(当前函数返回一个函数)
            FunctionData func = getLastFunction();
            CallData     temp = new CallData();

            temp.Call = func.Call;
            func.Clear();
            func.Call = temp;
        }
Esempio n. 2
0
        private void buildHighOrderFunction()
        {
            //高阶函数构造(当前函数返回一个函数)
            FunctionData func = getLastFunction();
            FunctionData temp = new FunctionData();

            temp.CopyFrom(func);
            func.Clear();
            func.LowerOrderFunction = temp;
        }