LambdaAccessorSlot

Like LambdaSlot, but the lambdas also get the owning object, so the property can read and write the owner's own fields. That is what makes it usable for a native property that has to behave like a normal JavaScript property without reflection.

Functions

Link copied to clipboard

Same as getPropertyDescriptor without the scope. The scope is genuinely unused here, and saying so keeps callers from reaching for one they should not use.

Link copied to clipboard
open override fun getValue(start: Scriptable?): Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setValue(value: Any?, owner: Scriptable, start: Scriptable, isThrow: Boolean): Boolean
fun setValue(value: Any?, owner: Scriptable, start: Scriptable): Boolean