//! A framework for automatically translating the StreamIR to a target language.
usecrate::ir::StreamIr;pubmodexpressions;pubmodfiles;pubmodguards;pubmodnames;pubmodstatements;pubmodtypes;/// The main formatter trait to be used with the `translate` method of the library.
pubtraitStreamIrFormatter{/// The type that is returned when formatting the whole StreamIR.
typeReturn;/// An identifier string for the given formatter (to be used in file header information etc.)
fnid(&self)-> String;/// Translates the StreamIR into the target type.
fnformat(self, ir: StreamIr)->Self::Return;}