BuiltinType
public enum BuiltinType : TypeProtocol
extension BuiltinType: CustomStringConvertible
extension BuiltinType: LosslessStringConvertible
A built-in type.
-
A built-in integer type.
This type represents the target’s integer types. A built-in integer may be of any bit width and does not specify signedness.
Declaration
Swift
case i(Int) -
An alias for
.i(n)wherenis the width of.ptr.Declaration
Swift
case word -
A built-in 16-bit floating-point type (specifically, “binary16” in IEEE 754).
Declaration
Swift
case float16 -
A built-in 32-bit floating-point type (specifically, “binary32” in IEEE 754).
Declaration
Swift
case float32 -
A built-in 64-bit floating-point type (specifically, “binary64” in IEEE 754).
Declaration
Swift
case float64 -
A built-in 128-bit floating-point type (specifically, “binary128” in IEEE 754).
Declaration
Swift
case float128 -
A built-in opaque pointer.
Declaration
Swift
case ptr -
The type of the built-in module.
Declaration
Swift
case module -
The type of a union discriminator.
Declaration
Swift
public static let discriminator: BuiltinType -
trueiffselfis.ior.word.Declaration
Swift
public var isInteger: Bool { get } -
Declaration
Swift
public var flags: ValueFlags { get } -
Undocumented
Declaration
Swift
public func checkInvariant() -
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public init?<S>(_ description: S) where S : StringProtocol
View on GitHub