Returns an iterator over the direct children of a node.
(&self, node: NodeId)
| 385 | |
| 386 | /// Returns an iterator over the direct children of a node. |
| 387 | pub(super) fn children(&self, node: NodeId) -> impl Iterator<Item = NodeId> + '_ { |
| 388 | successors(self[node].first_child, |&node| self[node].next_sibling) |
| 389 | } |
| 390 | |
| 391 | /// Serialize the document to HTML string. |
| 392 | #[allow(clippy::too_many_arguments, clippy::fn_params_excessive_bools)] |
no outgoing calls
no test coverage detected