Skip to main content

read_symbol_slice_with_selection

Function read_symbol_slice_with_selection 

Source
pub fn read_symbol_slice_with_selection(
    store: &AtlasStore,
    file: &Path,
    selector: &SymbolSliceSelector<'_>,
    content_selection: ContentSelection,
) -> ServiceResult<CodeSlice>
Expand description

Read an exact indexed symbol body after classified-content selection.

ยงErrors

Returns an error when the file is outside the explicit selection, the symbol is absent or ambiguous, its selector rejects it, or source fails.