(node: Node<'_>)
| 103 | } |
| 104 | |
| 105 | pub(crate) fn children(node: Node<'_>) -> Vec<Node<'_>> { |
| 106 | let mut cursor = node.walk(); |
| 107 | node.named_children(&mut cursor).collect() |
| 108 | } |
| 109 | |
| 110 | fn text<'a>(node: Node<'_>, source: &'a str) -> &'a str { |
| 111 | &source[node.byte_range()] |
no test coverage detected