//! Generic per-file AST visitor infrastructure shared across analyzers.
//!
//! A small utility (no analyzer dependency) so any dimension can walk every
//! parsed file with a stateful `syn` visitor, resetting per-file state between
//! files. Lives in `shared/` so analyzers consume it directly rather than
//! reaching into one another.
use Visit;
/// Trait for AST visitors that need per-file state reset.
pub
/// Visit all parsed files with a visitor, resetting per-file state.
/// Trivial: iteration with trait method call.
pub