ClassGetPropertyFunction

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

The type of get_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

  • return a #JSCValue or null to forward the request to the parent class or prototype chain