Protocols

The following protocols are available globally.

  • A type that represents a piece of Swift code

    See more

    Declaration

    Swift

    public protocol CodeRepresentable
  • A Fragment that is formatted as an enum case

    See more

    Declaration

    Swift

    public protocol EnumCase : Fragment
  • A protocol adopted by NormalEnumCase and AssociatedValueEnumCase to ensure type safety

    Declaration

    Swift

    public protocol MixableEnumCase : EnumCase
  • Represents a line or block of Swift code

    See more

    Declaration

    Swift

    public protocol Fragment : CodeRepresentable