View Source GenLSP.Structures.SemanticTokens (gen_lsp v0.8.1)

@since 3.16.0

Link to this section Summary

Functions

Fields

  • result_id: 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.
  • data: The actual tokens.

Link to this section Types

@type t() :: %GenLSP.Structures.SemanticTokens{
  data: [GenLSP.BaseTypes.uinteger()],
  result_id: String.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.SemanticTokens{}

View Source (struct)

fields

Fields

  • result_id: 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.
  • data: The actual tokens.