Represents edits to semantic tokens. @link DocumentSemanticTokensProvider.provideDocumentSemanticTokensEdits provideDocumentSemanticTokensEdits} for an explanation of the format.
See also:
{
Constructor
new(edits:Array<SemanticTokensEdit>, ?resultId:String)
Create new semantic tokens edits.
Parameters:
edits | An array of semantic token edits |
---|---|
resultId | Result identifier. |
Variables
read onlyedits:Array<SemanticTokensEdit>
The edits to the tokens data. All edits refer to the initial data state.
read onlyresultId:Null<String>
The result id of the tokens.
This is the id that will be passed to DocumentSemanticTokensProvider.provideDocumentSemanticTokensEdits
(if implemented).