Skip to main content

resolve_context

Function resolve_context 

Source
pub fn resolve_context(
    scopes: &[ContextScope],
    anchor: u32,
    opts: &ContextOptions,
) -> Vec<u32>
Expand description

Resolve the context header lines for anchor.

Returns source line numbers, outermost scope first, ready for the cells worker to build rows from. Empty when nothing encloses the anchor or the budget leaves no room.