sway_lsp::capabilities::document_symbol

Function to_symbol_information

Source
pub fn to_symbol_information<'a, I>(
    tokens: I,
    url: &Url,
) -> Vec<SymbolInformation>
where I: Iterator<Item = RefMulti<'a, TokenIdent, Token>>,