public class V8Function extends V8Object
| Modifier | Constructor and Description |
|---|---|
protected |
V8Function(V8 v8) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(V8Object receiver,
V8Array parameters)
Invoke the JavaScript function on the current runtime.
|
protected V8Value |
createTwin() |
V8Function |
twin()
Creates a new Java object pointing at the same V8 Value
as this.
|
add, add, add, add, add, addNull, addUndefined, contains, executeArrayFunction, executeBooleanFunction, executeDoubleFunction, executeFunction, executeIntegerFunction, executeObjectFunction, executeStringFunction, executeVoidFunction, get, getArray, getBoolean, getDouble, getInteger, getKeys, getObject, getString, getType, registerJavaMethod, registerJavaMethod, registerJavaMethod, registerJavaMethod, setPrototype, toStringcheckReleaesd, equals, getHandle, getRuntime, getRutime, hashCode, initialize, isReleased, isUndefined, jsEquals, release, strictEqualsprotected V8Function(V8 v8)
protected V8Value createTwin()
createTwin in class V8Objectpublic V8Function twin()
V8Valuepublic Object call(V8Object receiver, V8Array parameters)
receiver - The object on which to call the function on. The
receiver will be mapped to 'this' in JavaScript. If receiver is null
or undefined, then the V8 runtime will be used instead.parameters - The parameters passed to the JS Function.Copyright © 2015. All rights reserved.