registerDocumentSymbolProvider method
Disposable
registerDocumentSymbolProvider(
- Object selector,
- DocumentSymbolProvider provider, [
- DocumentSymbolProviderMetadata? metaData
Register a document symbol provider.
Multiple providers can be registered for a language. In that case providers are asked in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause a failure of the whole operation.
Implementation
_i3.Disposable registerDocumentSymbolProvider(
_i2.Object selector,
_i3.DocumentSymbolProvider provider, [
_i3.DocumentSymbolProviderMetadata? metaData,
]) =>
_i4.callMethod(
this,
'registerDocumentSymbolProvider',
[
selector,
provider,
metaData ?? _i5.undefined,
],
);