Example #1
0
        public static object MakeFunctionDebug(CodeContext context, FunctionCode funcInfo, object modName, MutableTuple closure, object[] defaults, Delegate target)
        {
            funcInfo.SetDebugTarget(context.LanguageContext, target);

            return new TotemFunction(context, funcInfo, modName, defaults, closure);
        }
Example #2
0
        public static object MakeFunctionDebug(CodeContext/*!*/ context, FunctionCode funcInfo, string name, string[] argNames, object[] defaults, Delegate target)
        {
            funcInfo.SetDebugTarget(context.LanguageContext, target);

            return new TotemFunction(context, funcInfo, null, name, /*argNames, */defaults, null);
        }