DIType

public protocol DIType : DIScope

Denotes metadata for a type.

  • name Extension method

    Retrieves the name of this type.

    Declaration

    Swift

    public var name: String { get }
  • sizeInBits Extension method

    Retrieves the size of the type represented by this metadata in bits.

    Declaration

    Swift

    public var sizeInBits: Size { get }
  • offsetInBits Extension method

    Retrieves the offset of the type represented by this metadata in bits.

    Declaration

    Swift

    public var offsetInBits: Size { get }
  • alignmentInBits Extension method

    Retrieves the alignment of the type represented by this metadata in bits.

    Declaration

    Swift

    public var alignmentInBits: Alignment { get }
  • line Extension method

    Retrieves the line the type represented by this metadata is declared on.

    Declaration

    Swift

    public var line: Int { get }
  • flags Extension method

    Retrieves the flags the type represented by this metadata is declared with.

    Declaration

    Swift

    public var flags: DIFlags { get }