Class NativeFunction
java.lang.Object
me.topchetoeu.j2s.runtime.values.Value
me.topchetoeu.j2s.runtime.values.objects.ObjectValue
me.topchetoeu.j2s.runtime.values.functions.FunctionValue
me.topchetoeu.j2s.runtime.values.functions.NativeFunction
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue
ObjectValue.Property, ObjectValue.PrototypeProvider
Nested classes/interfaces inherited from class me.topchetoeu.j2s.runtime.values.Value
Value.State
-
Field Summary
FieldsFields inherited from class me.topchetoeu.j2s.runtime.values.functions.FunctionValue
enableApply, enableConstruct, length, name, prototype
Fields inherited from class me.topchetoeu.j2s.runtime.values.Value
ARRAY_PROTO, BOOL_PROTO, ERROR_PROTO, FUNCTION_PROTO, GLOBAL, INT32_ARR_PROTO, INT8_ARR_PROTO, INTRINSICS, NULL, NUMBER_PROTO, OBJECT_PROTO, RANGE_ERR_PROTO, STRING_PROTO, SYMBOL_PROTO, SYNTAX_ERR_PROTO, TYPE_ERR_PROTO, UINT8_ARR_PROTO, UNDEFINED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.topchetoeu.j2s.runtime.values.functions.FunctionValue
apply, construct, deleteOwnMember, getOwnMember, setName, toReadableLines, toString, type
Methods inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue
defineOwnField, defineOwnProperty, freeze, getOwnMembers, getOwnSymbolMembers, getPrototype, getState, isPrimitive, preventExtensions, seal, setPrototype, setPrototype, setPrototype, toBoolean, toNumber, toPrimitive, toReadableLines, toString
Methods inherited from class me.topchetoeu.j2s.runtime.values.Value
add, and, bitwiseNot, callWith, callWithAsync, constructNoSelf, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineOwnProperty, deleteMember, deleteMember, deleteMember, deleteMember, deleteMember, deleteOwnMember, deleteOwnMember, deleteOwnMember, deleteOwnMember, divide, errorToReadable, fromIterator, getMember, getMember, getMember, getMember, getMember, getMemberDescriptor, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberPath, getMemberPath, getMembers, getOwnMember, getOwnMember, getOwnMember, getOwnMember, getSymbolMembers, global, greater, greaterOrEqual, hasMember, hasMember, hasMember, hasMember, hasMember, intrinsics, isInstanceOf, isNaN, less, lessOrEqual, looseEqual, modulo, multiply, negative, or, setMember, setMember, setMember, setMember, setMember, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, shiftLeft, shiftRight, subtract, toIterable, toReadable, unsignedShiftRight, xor
-
Field Details
-
action
-
-
Constructor Details
-
NativeFunction
-
NativeFunction
-
-
Method Details
-
onApply
- Specified by:
onApply
in classFunctionValue
-
onConstruct
- Specified by:
onConstruct
in classFunctionValue
-