//! Common utilities for AST-based formats
//!
//! This module provides shared functionality for formats that serialize AST nodes,
//! particularly diagnostic formats like treeviz, linetreeviz, and tag.
