//! Trivia-preserving parsing and formatting for `logos` + `lalrpop` pipelines.
//!
//! - [`TriviaLexer`] wraps any `Iterator<Item = Result<(usize, Tok, usize),
//! E>>` and records comments/blank lines on the side while the parser sees
//! only semantic tokens.
//! - [`attach`] places those trivia events on AST node spans as leading,
//! trailing, or dangling comments.
//! - [`pretty`] is a small `Doc` IR with explicit trivia slots that the
//! renderer resolves against a `CommentMap`.
//!
//! Trivia is generic over a kind enum `K` so downstream crates can carry a
//! richer classification through every layer. The default `K = BuiltinKind`
//! covers the common line/block distinction without any extra wiring.
//!
//! See the `calc` example for an end-to-end integration.
pub use ;
pub use TriviaLexer;
pub use ;
pub use ;
pub use ;