Package org.mozilla.javascript
Class AccessorSlot.FunctionSetter
java.lang.Object
org.mozilla.javascript.AccessorSlot.FunctionSetter
- All Implemented Interfaces:
AccessorSlot.Setter
- Enclosing class:
AccessorSlot
Invoke the setter as a JavaScript function, taking care that it might actually be Undefined.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasSetterFunction
(String name, Scriptable scope) boolean
setValue
(Object value, Scriptable owner, Scriptable start)
-
Field Details
-
target
-
-
Constructor Details
-
FunctionSetter
FunctionSetter(Object target)
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfaceAccessorSlot.Setter
-
asSetterFunction
- Specified by:
asSetterFunction
in interfaceAccessorSlot.Setter
-