GenericTypeParameterType
public struct GenericTypeParameterType : TypeProtocol
extension GenericTypeParameterType: CustomStringConvertible
A generic type parameter.
-
The declaration that introduces the parameter.
Declaration
Swift
public let decl: GenericParameterDecl.ID -
The name of the parameter.
Declaration
Swift
public let name: Incidental<String> -
Creates an instance denoting the generic type parameter declared by
decl.Declaration
Swift
public init(_ decl: GenericParameterDecl.ID, ast: AST) -
Creates an instance denoting the
Selfparameter oftrait. -
Declaration
Swift
public var flags: ValueFlags { get } -
Declaration
Swift
public var description: String { get }
View on GitHub