public extension PureYAML.Streaming.Token { /// A scanner token's kind, mirroring the internal libyaml-ported scanner's /// own token kinds (`yaml_token_type_t`) one for one, under public naming /// that does not leak the port's internal type names. enum Kind: Equatable, Sendable { case streamStart case streamEnd case documentStart case documentEnd case blockSequenceStart case blockMappingStart case blockEnd case blockEntry case flowSequenceStart case flowMappingStart case flowSequenceEnd case flowMappingEnd case flowEntry case key case value case versionDirective(major: Int, minor: Int) case tagDirective(handle: String, prefix: String) case reservedDirective case anchor(name: String) case alias(name: String) case tag(handle: String, suffix: String) case scalar(value: String, style: PureYAML.Streaming.Token.ScalarStyle) } }