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