Function re_types_builder::generate_code
source ยท pub(crate) fn generate_code(
reporter: &Reporter,
objects: &Objects,
arrow_registry: &ArrowRegistry,
generator: &mut dyn CodeGenerator,
formatter: &mut dyn CodeFormatter,
orphan_paths_opt_out: &BTreeSet<Utf8PathBuf>,
check: bool,
)
Expand description
Generates, formats and optionally writes code.
If check
is true, this will run a comparison check instead of writing files to disk.
Panics on error.