Type Aliasswift 6.0.3Swift
ReverseParser
typealias ReverseParser = Unicode.UTF32.Parser
typealias ReverseParser = Unicode.UTF32.Parser
import Swift
@frozen enum UTF32
@frozen enum Unicode
A namespace for Unicode utilities.
@frozen struct Parser
init()
Creates an instance of the UTF-32 codec.
static var encodedReplacementCharacter: Unicode.UTF32.EncodedScalar { get }
static func decode(_ source: Unicode.UTF32.EncodedScalar) -> Unicode.Scalar
static func encode(_ source: Unicode.Scalar) -> Unicode.UTF32.EncodedScalar?
static func encode(_ input: Unicode.Scalar, into processCodeUnit: (Unicode.UTF32.CodeUnit) -> Void)
Encodes a Unicode scalar as a UTF-32 code unit by calling the given closure.
static func isASCII(_ x: Unicode.UTF32.CodeUnit) -> Bool
Returns whether the given code unit represents an ASCII scalar
mutating func decode<I>(_ input: inout I) -> UnicodeDecodingResult where I : IteratorProtocol, I.Element == UInt32
Starts or continues decoding a UTF-32 sequence.
typealias CodeUnit = UInt32
typealias EncodedScalar = CollectionOfOne<UInt32>
typealias ForwardParser = Unicode.UTF32.Parser