This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Couldn't load subscription status.
- Fork 12
Node
mattt edited this page Feb 7, 2020
·
11 revisions
A CommonMark node.
open class Nodeconvenience init()Creates a node from a cmark_node pointer.
init(_ cmark_node: OpaquePointer)convenience init(nonrecursively: Void)A pointer to the underlying cmark_node for the node.
let cmark_node: OpaquePointerWhether the underlying cmark_node should be freed upon deallocation.
var managed: Bool = falseThe line and column range of the element in the document.
var range: ClosedRange<Document.Position>var description: StringThe parent of the element, if any.
var parent: Node?var cmark_node_type: cmark_node_typepublic func hash(into hasher: inout Hasher)Creates and returns the Node subclass corresponding to
the type of a cmark_node pointer.
static func create(for cmark_node: OpaquePointer!) -> Node?An instance of a Node subclass.
public static func ==(lhs: Node, rhs: Node) -> BoolGenerated at 2021-03-03T19:19:22+0000 using swift-doc 1.0.0-beta.5.
Types
- BlockQuote
- Code
- CodeBlock
- CommonMarkBuilder
- Document
- Document.Error
- Document.ParsingOptions
- Document.Position
- Emphasis
- ForEach
- Fragment
- HTMLBlock
- HardLineBreak
- Heading
- Image
- Link
- List
- List.Delimiter
- List.Item
- List.Kind
- Node
- Node.RenderingFormat
- Node.RenderingOptions
- Paragraph
- RawHTML
- Section
- SoftLineBreak
- StringBuilder
- Strong
- Text
- ThematicBreak
- VisitorContinueKind