SubscriptImplType
public struct SubscriptImplType : TypeProtocol
extension SubscriptImplType: CustomStringConvertible
The type of a subscript implementation.
-
Indicates whether the subscript denotes a computed property.
Declaration
Swift
public let isProperty: Bool -
The effect of the subscript’s call operator.
Declaration
Swift
public let receiverEffect: AccessEffect -
The environment of the subscript implementation.
Declaration
Swift
public let environment: AnyType -
The parameter labels and types of the subscript implementation.
Declaration
Swift
public let inputs: [CallableTypeParameter] -
The type of the value projected by the subscript implementation.
Declaration
Swift
public let output: AnyType -
Declaration
Swift
public let flags: ValueFlags -
Creates an instance with the given properties.
Declaration
Swift
public init( isProperty: Bool, receiverEffect: AccessEffect, environment: AnyType, inputs: [CallableTypeParameter], output: AnyType ) -
Indicates whether
selfhas an empty environment.Declaration
Swift
public var isThin: Bool { get } -
Accesses the individual elements of the arrow’s environment.
Declaration
Swift
public var captures: [TupleType.Element] { 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