mixin fandoc::DocWriter

fandoc::DocWriter

@Js

Source

DocWriter is used to output a fandoc model using a series of callbacks.

See pod doc for usage.

docEnd

abstract Void docEnd(Doc doc)

Source

Exit a document.

docStart

abstract Void docStart(Doc doc)

Source

Enter a document.

elemEnd

abstract Void elemEnd(DocElem elem)

Source

Exit an element.

elemStart

abstract Void elemStart(DocElem elem)

Source

Enter an element.

text

abstract Void text(DocText text)

Source

Write text node.