read_symbol_slice_from_source_bounded

Function read_symbol_slice_from_source_bounded 

Source
pub fn read_symbol_slice_from_source_bounded(
    store: &AtlasStore,
    file: &Path,
    selector: &SymbolSliceSelector<'_>,
    source: &str,
    output_budget: CodeSliceBudget,
) -> ServiceResult<CodeSliceDraft>
Expand description

Read a byte-bounded symbol body from caller-verified source bytes.

ยงErrors

Returns an error when the symbol is absent, ambiguous, filtered out by the selector, its indexed range is invalid, or its verbatim body cannot fit the requested output budget.