Merge commit '76633199f4' into sync-from-rust

This commit is contained in:
Laurențiu Nicola 2023-11-15 09:45:17 +02:00
commit 610eafe009
7 changed files with 147 additions and 32 deletions

View file

@ -2,11 +2,6 @@
//! It is intended to be completely decoupled from the
//! parser, so as to allow to evolve the tree representation
//! and the parser algorithm independently.
//!
//! The `TreeSink` trait is the bridge between the parser and the
//! tree builder: the parser produces a stream of events like
//! `start node`, `finish node`, and `FileBuilder` converts
//! this stream to a real tree.
use std::mem;
use crate::{