Structureswift 6.0.1Swift
Parser
@frozen struct Parser
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (11) members.
Typealiases
Type members
init(
) Creates an instance of the UTF-32 codec.
static var encodedReplacementCharacter: Unicode.UTF32.EncodedScalar
static func decode(Unicode.UTF32.EncodedScalar
) -> Unicode.Scalar static func encode(Unicode.Scalar
) -> Unicode.UTF32.EncodedScalar? static func encode(Unicode.Scalar, into: (Unicode.UTF32.CodeUnit) -> Void
) Encodes a Unicode scalar as a UTF-32 code unit by calling the given closure.
static func isASCII(Unicode.UTF32.CodeUnit
) -> Bool Returns whether the given code unit represents an ASCII scalar
Instance members
func decode<I>(inout I
) -> UnicodeDecodingResult Starts or continues decoding a UTF-32 sequence.
Citizens in Swift
Conformances
protocol BitwiseCopyable
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
protocol Sendable
Typealiases
Type members
Instance members
func parseScalar<I>(from: inout I
) -> Unicode.ParseResult<Unicode.UTF32.Parser.Encoding.EncodedScalar> Parses a single Unicode scalar value from
input
.