class LSProtocol::SemanticTokens

Overview

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(data : Array(UInt32) | Nil, result_id : String | Nil = nil) #

[View source]

Instance Method Detail

def data : Array(UInt32) #

The actual tokens.


[View source]
def result_id : String | Nil #

An optional result id. If provided and clients support delta updating the client will include the result id in the next semantic token request. A server can then instead of computing all semantic tokens again simply send a delta.


[View source]