static InterpretedFunction createFunction ( Context cx , Scriptable scope , InterpretedFunction parent , int index ) { InterpretedFunction f = new InterpretedFunction ( parent , index ) ; f . initScriptFunction ( cx , scope ) ; return f ; }
Create function embedded in script or another function .