Skip to main content

resolve_module_code_units_batch

Function resolve_module_code_units_batch 

Source
pub fn resolve_module_code_units_batch(
    python: &dyn PythonSource,
    module_fqs: &[String],
) -> Vec<Option<CodeUnit>>
Expand description

Batched sibling of resolve_module_code_unit: resolves every FQN’s path-symbol lookup in one store transaction instead of one per FQN, then falls back to the (unbatched, rarer) definition-lookup path per FQN exactly as the single-FQN version does. Preserves its per-item semantics precisely, including that a path lookup which succeeds but finds no module unit does not fall through to the definition lookup.