(
bytes: &[u8],
preallocate_node_capacity: usize,
mode: InliningMode,
)
| 74 | |
| 75 | impl Document { |
| 76 | pub(crate) fn parse_with_options( |
| 77 | bytes: &[u8], |
| 78 | preallocate_node_capacity: usize, |
| 79 | mode: InliningMode, |
| 80 | ) -> Document { |
| 81 | parser::parse_with_options(bytes, preallocate_node_capacity, mode) |
| 82 | } |
| 83 | |
| 84 | pub(super) fn with_capacity(capacity: usize, input_size: usize) -> Self { |
| 85 | // Dummy node at index 0 so that other indices fit in NonZero |
nothing calls this directly
no test coverage detected