GenericParameter
public struct GenericParameter : Instruction
extension GenericParameter: CustomStringConvertible
Accesses the value passed to a generic parameter.
-
The parameter whose value is accessed.
Declaration
Swift
public let parameter: GenericParameterDecl.ID -
The type of the instruction’s result.
Declaration
Swift
public let result: IR.Type? -
The site of the code corresponding to that instruction.
Declaration
Swift
public let site: SourceRange -
Creates an instance with the given properties.
Declaration
Swift
fileprivate init( parameter: GenericParameterDecl.ID, result: IR.`Type`, site: SourceRange ) -
Declaration
Swift
public mutating func replaceOperand(at i: Int, with new: Operand) -
Declaration
Swift
public var description: String { get }
View on GitHub