There was an error while loading. Please reload this page.
Documentation for a Swift declaration.
public struct Documentation
DiscussionPart
The documented error throwing behavior.
var `throws`: String?
The text segments and callouts that comprise the discussion, if any.
var discussionParts: [DiscussionPart] = []
Whether the documentation has any content.
var isEmpty: Bool
The documented parameters.
var parameters: [(name: String, description: String)] = []
The documented return value.
var returns: String?
The summary.
var summary: String?
public static func ==(lhs: Documentation, rhs: Documentation) -> Bool
public func hash(into hasher: inout Hasher)
Create and return documentation from Swift Markup text.
public static func parse(_ text: String?) throws -> Documentation
CommonMark.Document.Error
A structured representation of the documentation.