Type

Defines Swift type

  • Imports that existed in the file that contained this type declaration

  • Imports existed in all files containing this type and all its super classes/protocols

  • Whether declaration is an extension of some type

  • Kind of type declaration, i.e. enum, struct, class, protocol or extension

  • Type access level, i.e. internal, private, fileprivate, public, open

  • Type name in global scope. For inner types includes the name of its containing type, i.e. Type.Inner

  • Whether the type has been resolved as unknown extension

  • Global type name including module name, unless it’s an extension of unknown type

  • Whether type is generic

  • Type name in its own scope.

  • Variables defined in this type only, inluding variables defined in its extensions, but not including variables inherited from superclasses (for classes only) and protocols

  • Unfiltered (can contain duplications from extensions) variables defined in this type only, inluding variables defined in its extensions, but not including variables inherited from superclasses (for classes only) and protocols

  • All variables defined for this type, including variables defined in extensions, in superclasses (for classes only) and protocols

  • Methods defined in this type only, inluding methods defined in its extensions, but not including methods inherited from superclasses (for classes only) and protocols

  • Unfiltered (can contain duplications from extensions) methods defined in this type only, inluding methods defined in its extensions, but not including methods inherited from superclasses (for classes only) and protocols

  • All methods defined for this type, including methods defined in extensions, in superclasses (for classes only) and protocols

  • Subscripts defined in this type only, inluding subscripts defined in its extensions, but not including subscripts inherited from superclasses (for classes only) and protocols

  • Unfiltered (can contain duplications from extensions) Subscripts defined in this type only, inluding subscripts defined in its extensions, but not including subscripts inherited from superclasses (for classes only) and protocols

  • All subscripts defined for this type, including subscripts defined in extensions, in superclasses (for classes only) and protocols

  • Bytes position of the body of this type in its declaration file if available.

  • Bytes position of the whole declaration of this type in its declaration file if available.

  • All initializers defined in this type

  • All annotations for this type

  • Static variables defined in this type

  • Static methods defined in this type

  • Class methods defined in this type

  • Instance variables defined in this type

  • Instance methods defined in this type

  • Computed instance variables defined in this type

  • Stored instance variables defined in this type

  • Names of types this type inherits from (for classes only) and protocols it implements, in order of definition

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

  • Types this type inherits from or implements, including unknown (not scanned) types with extensions defined

  • Types this type inherits from

  • Protocols this type implements

  • Contained types

  • Contained types groupd by their names

  • Name of parent type (for contained types only)

  • Parent type, if known (for contained types only)

  • Superclass type, if known (only for classes)

  • Type attributes, i.e. @objc

  • Type modifiers, i.e. private, final

  • Path to file where the type is defined

  • Directory to file where the type is defined

  • File name where the type was defined