Class CodeFunction
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.CodeFunction
-
Nested Class Summary
Nested 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
FieldsModifier and TypeFieldDescriptionfinal me.topchetoeu.j2s.common.FunctionBody
final Value[][]
me.topchetoeu.j2s.common.Environment
Fields 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
ConstructorsConstructorDescriptionCodeFunction
(me.topchetoeu.j2s.common.Environment env, String name, me.topchetoeu.j2s.common.FunctionBody body, Value[][] captures) -
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
-
body
public final me.topchetoeu.j2s.common.FunctionBody body -
captures
-
env
public me.topchetoeu.j2s.common.Environment env
-
-
Constructor Details
-
CodeFunction
-
-
Method Details
-
onApply
- Specified by:
onApply
in classFunctionValue
-
onConstruct
- Specified by:
onConstruct
in classFunctionValue
-