type
DocNode
src
@Js
abstract class DocNode : Obj
DocNode is the base class for nodes in a fandoc model. There are two type of nodes: DocElem and DocText.
See pod doc for usage.
fields
methods
dump |
Debug dump to output stream. |
---|---|
id |
Get node id for node type. |
isBlock |
Is this a block element versus an inline element. |
isFirst |
Return |
isInline |
Is this an inline versus a block node. |
isLast |
Return |
path |
Get the path from the root of the DOM to this node. |
pos |
Get the index of this node in its parent's children. |
toText |
Get all the DocText children as a string |
write |
Write this node to the specified DocWriter. |