derive_resolution_keys

Function derive_resolution_keys 

Source
pub fn derive_resolution_keys(
    project: ProjectInstanceId,
    package: Option<&str>,
    graph: &SymbolGraph,
) -> Result<ResolutionKeyProjection, ResolutionProjectionError>
Expand description

Derive bounded canonical export and dependency keys from one extracted graph.

The returned symbol and relation indices associate parser facts with keys; runtime graph normalization binds those keys to final entity and logical- relation owners after resolution.

ยงErrors

Returns an error when a graph identity is invalid or one parser fact exceeds the bounded canonical-key fan-out.