ClassSetPropertyFunction

typealias ClassSetPropertyFunction = (jscClass: Class, context: Context, <Error class: unknown class>?, name: String, value: Value) -> Boolean

The type of set_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

  • param jscClass a #JSCClass

  • param context a #JSCContext

  • param instance the @jsc_class instance

  • param name the property name

  • param value the #JSCValue to set

  • return true if handled or false to forward the request to the parent class or prototype chain.