Skip to main content

read_symbol_slice_from_source_with_selection

Function read_symbol_slice_from_source_with_selection 

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

Read an exact symbol body from verified source after classified selection.

ยงErrors

Returns an error when the file is outside the explicit selection, or the symbol is absent, ambiguous, rejected by the selector, or out of range.