// @author kazuya kawaguchi (a.k.a. kazupon)
// @license MIT
//
//! Binary AST writer (parser-integrated, approach c-1).
//!
//! See `design/007-binary-ast/rust-impl.md#parser-integrated-binary-writer`
//! for the design rationale.
//!
//! The writer is invoked from inside the parser as it produces nodes. It
//! emits Binary AST bytes directly into an arena-backed buffer per section
//! ([`BinaryWriter`]), then concatenates them into the final `Vec<u8>` at
//! [`BinaryWriter::finish`]. There is no separate encoder pass; parsing
//! and encoding happen in lockstep.
//!
//! Per-Kind emit helpers live in [`nodes`]; the top-level orchestration
//! (section buffers, header patching, root array, diagnostics, UTF-16
//! position conversion via [`crate::utf16::Utf16PositionMap`]) lives in
//! [`BinaryWriter`].
pub use crateStringField;
pub use ;
pub use ;
pub use NodeIndex;
pub use ;