Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Document_ParsingOptions_Position_Error

mattt edited this page Feb 7, 2020 · 1 revision

Document.ParsingOptions.Position.Error

An error when creating a document.

public enum Error

Inheritance

Swift.Error

Nested Types

Document.ParsingOptions.Position.Error.RenderingFormat

Enumeration Cases

invalid

A document couldn't be constructed with the provided source.

case invalid

Initializers

init(children:)

public convenience init(children: [Block & Node] = [])

init(_:options:)

Creates a document from a CommonMark string.

public convenience init(_ commonmark: String, options: ParsingOptions = []) throws
  • Parameter commonmark: A CommonMark string.

Throws

  • Document.Error.invalid if a document couldn't be constructed with the provided source.

Properties

cmark_node_type

var cmark_node_type: cmark_node_type
Clone this wiki locally