LSP::SemanticTokensLegend
Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object
The token types and modifiers a server emits, in index order.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew
SourceInstance methods
token_types
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.