Skip to main content

qualified_symbol_parents

Function qualified_symbol_parents 

Source
pub fn qualified_symbol_parents(
    graph: &SymbolGraph,
) -> Result<Vec<Option<GraphIdentityText>>, GraphContractError>
Expand description

Qualify graph-only parent identity from the parser’s existing containment rows.

Sorting and active-scope lookup are O(n log n). Identity work is O(n * MAX_GRAPH_IDENTITY_BYTES): every retained parent is bounded, and an overflowing candidate is hashed without materializing more than one bounded parent plus one admitted component.

§Errors

Returns the graph contract error for an invalid or reserved source identity.