Represents a tree-like hierarchical structure, where each node has a parent and a collection of child nodes.
Report a problem
The type parameter representing the node type, which must also implement TreeLike.
Returns a sequence of nodes from the current node and its descendants.
Returns true if the current node has no children.
true
Returns true if the current node is a root node.
Returns a sequence of nodes from the current node up to the root.