/// <summary> Create function embedded in script or another function.</summary>
        internal static InterpretedFunction createFunction(Context cx, IScriptable scope, InterpretedFunction parent, int index)
        {
            InterpretedFunction f = new InterpretedFunction(parent, index);

            f.initInterpretedFunction(cx, scope);
            return(f);
        }
        /// <summary> Create function compiled from Function(...) constructor.</summary>
        internal static InterpretedFunction createFunction(Context cx, IScriptable scope, InterpreterData idata, object staticSecurityDomain)
        {
            InterpretedFunction f;

            f = new InterpretedFunction(idata, staticSecurityDomain);
            f.initInterpretedFunction(cx, scope);
            return(f);
        }
 /// <summary> Create function embedded in script or another function.</summary>
 internal static InterpretedFunction createFunction(Context cx, IScriptable scope, InterpretedFunction parent, int index)
 {
     InterpretedFunction f = new InterpretedFunction (parent, index);
     f.initInterpretedFunction (cx, scope);
     return f;
 }
 /// <summary> Create function compiled from Function(...) constructor.</summary>
 internal static InterpretedFunction createFunction(Context cx, IScriptable scope, InterpreterData idata, object staticSecurityDomain)
 {
     InterpretedFunction f;
     f = new InterpretedFunction (idata, staticSecurityDomain);
     f.initInterpretedFunction (cx, scope);
     return f;
 }