(&self, depth: i64)
| 1657 | } |
| 1658 | |
| 1659 | fn flattened_nodes(&self, depth: i64) -> Vec<Value> { |
| 1660 | let mut nodes = vec![self.document_node(0)]; |
| 1661 | for node_id in &self.document_children { |
| 1662 | self.append_flattened(*node_id, depth, &mut nodes); |
| 1663 | } |
| 1664 | nodes |
| 1665 | } |
| 1666 | |
| 1667 | fn append_flattened(&self, node_id: u64, depth: i64, nodes: &mut Vec<Value>) { |
| 1668 | nodes.push(self.node_value(node_id, 0)); |
nothing calls this directly
no test coverage detected