package forester

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Forester_lsp.Semantic_tokensSource

Sourceval print_array : Format.formatter -> int array -> unit
Sourcemodule Token_type : sig ... end
Sourcemodule Token_modifiers_set : sig ... end
Sourcetype token = {
  1. line : int;
  2. start_char : int;
  3. length : int;
  4. token_type : int;
  5. token_modifiers : int;
}
Sourcetype delta_token = {
  1. delta_line : int;
  2. delta_start_char : int;
  3. length : int;
  4. token_type : int;
  5. token_modifiers : int;
}
Sourceval encode : token -> int list
Sourceval encode_deltas : delta_token -> int list
Sourceval group : ('a -> 'a -> bool) -> 'a list -> 'a list list
Sourceval node_to_tokens : Forester_core.Code.node Forester_core.Range.located -> 'a -> 'b -> 'c list
Sourceval tokenize_path : start:Lsp.Types.Position.t -> string list -> token list
Sourceval shift : int -> token list -> token list
Sourceval builtin : start:Lsp.Types.Position.t -> string -> token list -> token list
Sourceval tokens : Forester_core.Code.t -> token list
Sourceval process_line_delta : int option -> token list -> int * delta_token list
Sourceval delta_tokens : token list list -> int array
Sourceval on_delta_request : Lsp.Types.SemanticTokensDeltaParams.t -> [ `SemanticTokens of Lsp.Types.SemanticTokens.t | `SemanticTokensDelta of Lsp.Types.SemanticTokensDelta.t ] option
OCaml

Innovation. Community. Security.