Interface DocumentSymbolProvider

The document symbol provider interface defines the contract between extensions and the go to symbol-feature.

interface DocumentSymbolProvider {
    provideDocumentSymbols(document, token): ProviderResult<DocumentSymbol[] | SymbolInformation[]>;
}

Methods