View Source GenLSP.Enumerations.SemanticTokenTypes (gen_lsp v0.8.1)

A set of predefined token types. This set is not fixed an clients can specify additional token types via the corresponding client capabilities.

@since 3.16.0

Link to this section Summary

Functions

@since 3.17.0

Represents a generic type. Acts as a fallback for types which can't be mapped to a specific type like class or enum.

Link to this section Types

Link to this section Functions

@spec class() :: String.t()
@spec comment() :: String.t()
@spec decorator() :: String.t()

@since 3.17.0

@spec enum() :: String.t()
@spec enum_member() :: String.t()
@spec event() :: String.t()
@spec function() :: String.t()
@spec interface() :: String.t()
@spec keyword() :: String.t()
@spec macro() :: String.t()
@spec method() :: String.t()
@spec modifier() :: String.t()
@spec namespace() :: String.t()
@spec number() :: String.t()
@spec operator() :: String.t()
@spec parameter() :: String.t()
@spec property() :: String.t()
@spec regexp() :: String.t()
@spec string() :: String.t()
@spec struct() :: String.t()
@spec type() :: String.t()

Represents a generic type. Acts as a fallback for types which can't be mapped to a specific type like class or enum.

@spec type_parameter() :: String.t()
@spec variable() :: String.t()