Метод | Описание | |
---|---|---|
CallLateBound ( object thisObject ) : object |
Calls this function, passing in the given "this" value and zero or more arguments.
|
|
CallWithStackTrace ( string path, string function, int line, object thisObject, object argumentValues ) : object |
Calls this function, passing in the given "this" value and zero or more arguments.
|
|
ConstructLateBound ( ) : |
Creates an object, using this function as the constructor.
|
|
HasInstance ( object instance ) : bool |
Determines whether the given object inherits from this function. More precisely, it checks whether the prototype chain of the object contains the prototype property of this function. Used by the "instanceof" operator.
|
|
ToString ( ) : string |
Returns a string representing this object.
|
Метод | Описание | |
---|---|---|
FunctionInstance ( |
Creates a new instance of a built-in function object.
|
|
FunctionInstance ( ScriptEngine engine ) : System |
Creates a new instance of a built-in function object, with the default Function prototype.
|
|
FunctionInstance ( ScriptEngine engine, |
Creates a new instance of a built-in function object.
|
Метод | Описание | |
---|---|---|
Apply ( object thisObj, object arguments ) : object | ||
Bind ( object boundThis ) : |
||
Call ( object thisObj ) : object | ||
CallFromNative ( string function, object thisObject ) : object |
Calls this function, passing in the given "this" value and zero or more arguments.
|
|
GetDeclarativeProperties ( ScriptEngine engine ) : List |
||
InitializePrototypeProperties ( |
Initializes the prototype properties.
|
|
ToStringJS ( ) : string | ||
__STUB__Apply ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__Bind ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__Call ( ScriptEngine engine, object thisObj, object args ) : object | ||
__STUB__ToStringJS ( ScriptEngine engine, object thisObj, object args ) : object |
public abstract CallLateBound ( object thisObject ) : object | ||
thisObject | object | The value of the "this" keyword within the function. |
Результат | object |
public CallWithStackTrace ( string path, string function, int line, object thisObject, object argumentValues ) : object | ||
path | string | The path of the javascript source file that contains the caller. |
function | string | The name of the caller function. |
line | int | The line number of the statement that is calling this function. |
thisObject | object | The value of the "this" keyword within the function. |
argumentValues | object | An array of argument values. |
Результат | object |
public ConstructLateBound ( ) : |
||
Результат |
protected FunctionInstance ( |
||
prototype | The next object in the prototype chain. | |
Результат | System |
protected FunctionInstance ( ScriptEngine engine ) : System | ||
engine | ScriptEngine | The associated script engine. |
Результат | System |
protected FunctionInstance ( ScriptEngine engine, |
||
engine | ScriptEngine | The associated script engine. |
prototype | The next object in the prototype chain. Can be |
|
Результат | System |
public HasInstance ( object instance ) : bool | ||
instance | object | The instance to check. |
Результат | bool |