org.mozilla.javascript

Interface IdFunctionCall

Known Implementing Classes:
BaseFunction, Continuation, FunctionObject, IdFunctionObject, IdScriptableObject, ImporterTopLevel, JavaAdapter, NativeArray, NativeCall, NativeFunction, NativeGenerator, NativeGlobal, NativeIterator, NativeJavaConstructor, NativeJavaMethod, NativeJavaTopPackage, NativeObject, NativeRegExp, NativeWith, XMLObject

public interface IdFunctionCall

Master for id-based functions that knows their properties and how to execute them.

Method Summary

Object
execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returned

Method Details

execIdCall

public Object execIdCall(IdFunctionObject f,
                         Context cx,
                         Scriptable scope,
                         Scriptable thisObj,
                         Object[] args)
'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returned