AssociatedTypeType
public struct AssociatedTypeType : TypeProtocol
extension AssociatedTypeType: CustomStringConvertible
An associated type of a generic type parameter, or associated type thereof.
-
The declaration that introduces the associated type in the parent trait.
Declaration
Swift
public let decl: AssociatedTypeDecl.ID -
The type whose
selfis member.domainis either an associated type, a conformance lens, or a generic type parameter.Declaration
Swift
public let domain: AnyType -
The name of the associated type.
Declaration
Swift
public let name: Incidental<String> -
A set of flags describing recursive properties.
Declaration
Swift
public let flags: ValueFlags -
Declaration
Swift
public init(_ decl: AssociatedTypeDecl.ID, domain: AnyType, ast: AST) -
Creates an instance with the given properties.
Declaration
Swift
init(decl: AssociatedTypeDecl.ID, domain: AnyType, name: String) -
Returns the root of
self‘s qualification.Declaration
Swift
public var root: AnyType { get } -
Declaration
Swift
public func transformParts<M>( mutating m: inout M, _ transformer: (inout M, AnyType) -> TypeTransformAction ) -> Self -
Declaration
Swift
public var description: String { get }
View on GitHub