Skip to main content

document_symbols

Function document_symbols 

Source
pub(super) fn document_symbols(
    file_uri: &Url,
    root: &Path,
    project_cache: &ProjectCache,
) -> Vec<DocumentSymbol>
Expand description

Build the document symbol outline for a .sql file.

Returns a single root symbol (the main CREATE statement) with children for each supporting statement, or an empty vec if the file doesn’t correspond to a known project object.