struct LSP::SemanticTokensLegend

Overview

The token types and modifiers a server emits, in index order.

Included Modules

Defined in:

base/capabilities/server_capabilities.cr

Constructors

Instance Method Summary

Macros inherited from module JSON::Serializable

json_discriminator(field, mapping, *, default = nil) json_discriminator

Constructor Detail

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

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def token_modifiers : Array(String) #

The token modifiers of the legend.


[View source]
def token_modifiers=(token_modifiers : Array(String)) #

The token modifiers of the legend.


[View source]
def token_types : Array(String) #

The token types of the legend, standard names (class, method, ...) or server specific ones.


[View source]
def token_types=(token_types : Array(String)) #

The token types of the legend, standard names (class, method, ...) or server specific ones.


[View source]