Class AccessorSlot.FunctionGetter
java.lang.Object
org.mozilla.javascript.AccessorSlot.FunctionGetter
- All Implemented Interfaces:
AccessorSlot.Getter
- Enclosing class:
AccessorSlot
This is a getter that delegates to a JavaScript function.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasGetterFunction
(String name, Scriptable scope) getValue
(Scriptable start)
-
Field Details
-
target
-
-
Constructor Details
-
FunctionGetter
FunctionGetter(Object target)
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceAccessorSlot.Getter
-
asGetterFunction
- Specified by:
asGetterFunction
in interfaceAccessorSlot.Getter
-