The document in which the command was invoked.
The position at which the command was invoked.
An array of additional valid documents for which highlights should be provided.
A cancellation token.
A Map containing a mapping of the Uri of a document to the document highlights or a thenable that resolves to such. The lack of a result can be
signaled by returning undefined
, null
, or an empty map.
Provide a set of document highlights, like all occurrences of a variable or all exit-points of a function.