Doc::Part type

Document part. May represent one element (which might have children) or group of elements.

Direct children types

Doc::Container
Any document part that can contain other elements.
Direct subtypes: 2
Doc::Textual
Textual document part. Textual can not contain other nodes.
Direct subtypes: 2

Methods

push(c:Doc::Container, p:Doc::Part) Source: autoload/Doc.ngs:70
EXPERIMENTAL! Do not use!
Doc::name(p:Doc::Part) Source: autoload/Doc.ngs:76
Undocumented
Doc::children(p:Doc::Part) Source: autoload/Doc.ngs:79
Undocumented
Doc::each_child(p:Doc::Part, cb:Fun) Source: autoload/Doc.ngs:82
Undocumented
Doc::map_children(p:Doc::Part, mapper:Fun) Source: autoload/Doc.ngs:83
Undocumented
Doc::transform(p:Doc::Part, transformer:Any) Source: autoload/Doc.ngs:100
Undocumented
Doc::visit(p:Doc::Part, cb:Fun, parents:Arr=[]) Source: autoload/Doc.ngs:111
Undocumented