ClassEnumeratePropertiesFunction

typealias ClassEnumeratePropertiesFunction = (jscClass: Class, context: Context, <Error class: unknown class>?) -> List<String>?

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

  • return a null-terminated array of strings containing the property names, or null if @instance doesn't have enumerable properties.