the full, absolute path of this (virtual) document tree
the markup documents and subtrees
all templates on this level of the tree hierarchy that might get applied to a document when it gets rendered
the styles to apply when rendering this tree
all dynamic or static documents that are not part of the main navigatable content of the tree
the configuration associated with this tree
the position of this tree inside a document ast hierarchy, expressed as a list of Ints
the paths this document tree has been built from or an empty list if this ast does not originate from the file system
all dynamic or static documents that are not part of the main navigatable content of the tree
the configuration associated with this tree
the configuration associated with this tree
the markup documents and subtrees
the markup documents and subtrees
All link targets that can get referenced from anywhere in the document tree.
All link targets that can get referenced from anywhere in the document tree.
The local name of this navigatable.
The local name of this navigatable.
the full, absolute path of this (virtual) document tree
the full, absolute path of this (virtual) document tree
the position of this tree inside a document ast hierarchy, expressed as a list of Ints
the position of this tree inside a document ast hierarchy, expressed as a list of Ints
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rule.
Returns a new tree, with all the document models contained in it rewritten based on the specified rewrite rule.
If the specified partial function is not defined for a specific element the old element remains
in the tree unchanged. If it returns None
then the node gets removed from the ast,
if it returns an element it will replace the old one. Of course the function may
also return the old element.
The rewriting is performed in a way that only branches of the tree that contain new or removed elements will be replaced. It is processed bottom-up, therefore any element container passed to the rule only contains children which have already been processed.
The specified factory function will be invoked for each document contained in this tree and must return a partial function that represents the rewrite rules for that particular document.
Selects a document from this tree or one of its subtrees by the specified path.
Selects a document from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a document from this tree or one of its subtrees by the specified path.
Selects a document from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a subtree of this tree by the specified path.
Selects a subtree of this tree by the specified path. The path needs to be relative and it may point to a deeply nested subtree, not just immediate children.
Selects a subtree of this tree by the specified path.
Selects a subtree of this tree by the specified path. The path needs to be relative and it may point to a deeply nested subtree, not just immediate children.
Selects a link target by the specified selector if it is defined somewhere in a document inside this document tree.
Selects a link target by the specified selector if it is defined somewhere in a document inside this document tree.
Selects a template from this tree or one of its subtrees by the specified path.
Selects a template from this tree or one of its subtrees by the specified path. The path needs to be relative.
Selects a template from this tree or one of its subtrees by the specified path.
Selects a template from this tree or one of its subtrees by the specified path. The path needs to be relative.
the paths this document tree has been built from or an empty list if this ast does not originate from the file system
the styles to apply when rendering this tree
The actual document tree that this ast structure represents.
The actual document tree that this ast structure represents.
all templates on this level of the tree hierarchy that might get applied to a document when it gets rendered
all templates on this level of the tree hierarchy that might get applied to a document when it gets rendered
The title of this tree, obtained from configuration.
The title of this tree, obtained from configuration.
Represents a tree with all its documents and subtrees.
the full, absolute path of this (virtual) document tree
the markup documents and subtrees
all templates on this level of the tree hierarchy that might get applied to a document when it gets rendered
the styles to apply when rendering this tree
all dynamic or static documents that are not part of the main navigatable content of the tree
the configuration associated with this tree
the position of this tree inside a document ast hierarchy, expressed as a list of Ints
the paths this document tree has been built from or an empty list if this ast does not originate from the file system