Other Protocols

The following protocols are available globally.

  • Describes annotated declaration, i.e. type, method, variable, enum case

    See more

    Declaration

    Swift

    public protocol Annotated
  • Describes that the object is defined in a context of some Type

    See more

    Declaration

    Swift

    public protocol Definition : AnyObject
  • Describes a declaration with documentation, i.e. type, method, variable, enum case

    See more

    Declaration

    Swift

    public protocol Documented
  • Descibes typed declaration, i.e. variable, method parameter, tuple element, enum case associated value

    See more

    Declaration

    Swift

    public protocol Typed