Enum
@objcMembers public final class Enum: Type
Defines Swift enum
-
Returns
enum
Declaration
Swift
public override var kind: String
-
Enum cases
Declaration
Swift
public var cases: [EnumCase]
-
Enum raw value type name, if any
Declaration
Swift
public var rawTypeName: TypeName?
-
Enum raw value type, if known
Declaration
Swift
public var rawType: Type?
-
Names of types or protocols this type inherits from, including unknown (not scanned) types
Declaration
Swift
public override var based: [String: String]
-
Whether enum contains any associated values
Declaration
Swift
public var hasAssociatedValues: Bool