extension PureYAML.Parsing.LibYAML { /// A scanner token kind, mirroring `yaml_token_type_t`. The flow-collection, /// anchor, tag, alias, and directive kinds are added as their fetchers are /// ported; the block + plain-scalar core is present. enum TokenType: Equatable { case streamStart case streamEnd case documentStart case documentEnd case blockSequenceStart case blockMappingStart case blockEnd case blockEntry case key case value case scalar(value: String, style: PureYAML.Parsing.ScalarStyle) } }