ParameterType
public struct ParameterType : TypeProtocol
extension ParameterType: CustomStringConvertible
The type of a parameter in an arrow, method, or subscript type.
-
The passing convention of the parameter.
Declaration
Swift
public let access: AccessEffect -
The type of the parameter’s value.
Declaration
Swift
public let bareType: AnyType -
trueiff the parameter is an autoclosure.Declaration
Swift
public let isAutoclosure: Bool -
Declaration
Swift
public let flags: ValueFlags -
Creates an instance with the given properties.
Declaration
Swift
public init(_ access: AccessEffect, _ bareType: AnyType, isAutoclosure: Bool = false) -
Creates an instance converting
t.Declaration
Swift
public init(_ t: RemoteType) -
trueiffselfis creates an access for initialization or mutation.Declaration
Swift
public var isSetOrInout: Bool { 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