ProtocolComposition

@objcMembers public final class ProtocolComposition: Type

Describes a Swift protocol composition.

  • Returns protocolComposition

    Declaration

    Swift

    public override var kind: String
  • The names of the types composed to form this composition

    Declaration

    Swift

    public let composedTypeNames: [TypeName]
  • The types composed to form this composition, if known

    Declaration

    Swift

    public var composedTypes: [Type]?