pub fn pretty(file: &IdlFile) -> String
Canonical pretty-print (also the human-readable surface syntax). Declarations keep file order; params aligned; doc comments preserved.