Skip to main content

compose_all

Function compose_all 

Source
pub fn compose_all(
    paths: &[impl AsRef<Path>],
    options: ComposeOptions,
) -> Result<Composed, String>
Expand description

Compose several documents into one model.

The units are lowered into a shared Ast, so a module two of them declare is one node — the same guarantee zerodds_idl_compose::compose_all gives, and for the same reason: two separate models emit the same module twice and the two collide in one Rust scope.

§Errors

The read of any unit, naming it.