Example #1
0
 /// <summary>
 /// Create a function that waits for the missing parameters passed to
 /// another function, then bundles them all up and calls the first function
 /// </summary>
 /// <param name="nested">function to call once we get remaining parameters</param>
 /// <param name="passed">arguments that have already been passed</param>
 /// <param name="needed">parameters we still need</param>
 internal PartialFunctionPost(ValueFunctionPost nested, Value passed, Value needed)
 {
     m_nested = nested;
     m_passed = passed;
     // our pattern is the remaining parameters; use same precedence as nested func
     Init(needed, nested.Order);
 }
Example #2
0
 internal PartialFunctionPost(ValueFunctionPost nested, Value passed)
 {
     m_nested = nested;
     m_passed = passed;
 }