Skip to main content

structural_source

Function structural_source 

Source
pub fn structural_source(
    compiler: &ContextCompiler<'_>,
    paths: &[String],
    max_units: usize,
) -> Vec<StructuralSourceUnit>
Expand description

Build structural-source units for the requested paths (deduped, order preserved), capped at max_units. Files unknown to the trusted view or containing no symbols produce no unit.