Fan

 

class

fandoc::Doc

sys::Obj
  fandoc::DocNode
    fandoc::DocElem
      fandoc::Doc

Doc models the top level node of a fandoc document.

Slots

htmlNameSource

override Str htmlName()

Overrides fandoc::DocElem.htmlName

Doc inherited from fandoc::DocElem.htmlName

Get the HTML element name to use for this element.

idSource

override DocNodeId id()

Overrides fandoc::DocNode.id

Doc inherited from fandoc::DocNode.id

Get node id for node type.

isInlineSource

override Bool isInline()

Overrides fandoc::DocElem.isInline

Doc inherited from fandoc::DocElem.isInline

Is this an inline versus a block element.

metaSource

Str:Str meta := [Str:Str][:]

writeSource

override Void write(DocWriter out)

Overrides fandoc::DocElem.write

Doc inherited from fandoc::DocElem.write

Write this element and its children to the specified DocWriter.