     private let closure: () throws -> T?
 }
 
+/// Parses YAML strings.
 public final class Parser {
-    // MARK: public
+    /// YAML string.
     public let yaml: String
+    /// Resolver.
     public let resolver: Resolver
+    /// Constructor.
     public let constructor: Constructor
 
     /// Set up Parser.
     ///
-    /// - Parameter string: YAML
-    /// - Parameter resolver: Resolver
-    /// - Parameter constructor: Constructor
-    /// - Throws: YamlError
+    /// - parameter string: YAML string.
+    /// - parameter resolver: Resolver, `.default` if omitted.
+    /// - parameter constructor: Constructor, `.default` if omitted.
+    ///
+    /// - throws: `YamlError`.
     public init(yaml string: String,
                 resolver: Resolver = .default,
                 constructor: Constructor = .default) throws {

///   - yaml: String
///   - resolver: Resolver
///   - constructor: Constructor
/// - Returns: YamlSequence<Node>
/// - Throws: YamlError
public func compose_all(yaml: String,
                        _ resolver: Resolver = .default,

#endif
}

// MARK: Implementation Details
private extension Parser {
    private var streamEndProduced: Bool {
        return parser.stream_end_produced != 0
