DocumentLinkProvider<T extends DocumentLink> class
The document link provider defines the contract between extensions and feature of showing links in the editor.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
DocumentLinkProvider({FutureOr<
List< provideDocumentLinks(TextDocument, CancellationToken)?, FutureOr<DocumentLink> >DocumentLink> resolveDocumentLink(DocumentLink, CancellationToken)?}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
provideDocumentLinks
↔ FutureOr<
List< Function(TextDocument, CancellationToken)T> > -
Available on DocumentLinkProvider<
T> , provided by the DocumentLinkProvider$Typings extensiongetter/setter pair -
resolveDocumentLink
↔ FutureOr<
T> Function(T, CancellationToken) -
Available on DocumentLinkProvider<
T> , provided by the DocumentLinkProvider$Typings extensiongetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited