Product
Product.swift:15class Product
class Product
import PackageModel
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
init(package: PackageIdentity, name: String, type: ProductType, modules: [Module], testEntryPointPath: AbsolutePath? = nil) throws
static let replProductSuffix: String
The suffix for REPL product name.
var description: String { get }
let identity: String
Fully qualified name for this product: package ID + name of this product
var modules: [Module]
The list of targets to combine to form the product.
let name: String
The name of the product.
let testEntryPointPath: AbsolutePath?
The path to test entry point file.
let type: ProductType
The type of product to create.
static func == (lhs: Product, rhs: Product) -> Bool
func hash(into hasher: inout Hasher)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.