Parameter
public struct Parameter : Codable, Sendable
A parameter in an arrow type expression.
-
The label of the parameter.
Declaration
Swift
public var label: SourceRepresentable<Identifier>? -
The type of the parameter.
Declaration
Swift
public let type: ParameterTypeExpr.ID -
Undocumented
Declaration
Swift
public init(label: SourceRepresentable<String>? = nil, type: ParameterTypeExpr.ID)
View on GitHub