struct
LSP::SemanticTokensLegend
- LSP::SemanticTokensLegend
- Struct
- Value
- Object
Overview
The token types and modifiers a server emits, in index order.
Included Modules
Defined in:
base/capabilities/server_capabilities.crConstructors
Instance Method Summary
-
#token_modifiers : Array(String)
The token modifiers of the legend.
-
#token_modifiers=(token_modifiers : Array(String))
The token modifiers of the legend.
-
#token_types : Array(String)
The token types of the legend, standard names (
class,method, ...) or server specific ones. -
#token_types=(token_types : Array(String))
The token types of the legend, standard names (
class,method, ...) or server specific ones.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
def token_types : Array(String)
#
The token types of the legend, standard names (class, method, ...)
or server specific ones.
def token_types=(token_types : Array(String))
#
The token types of the legend, standard names (class, method, ...)
or server specific ones.