Enum

Defines Swift enum

  • Returns “enum”

  • Enum cases

  • Enum raw value type name, if any. This type is removed from enum’s based and inherited types collections.

    Important

    Unless raw type is specified explicitly via type alias RawValue it will be set to the first type in the inheritance chain. So if your enum does not have raw value but implements protocols you’ll have to specify conformance to these protocols via extension to get enum with nil raw value type and all based and inherited types.
  • Enum raw value type, if known

  • Names of types or protocols this type inherits from, including unknown (not scanned) types

  • Whether enum contains any associated values