package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.6.0.tbz
sha256=35e8c7341f8eb1fa39fb0f0e0701a7ed90b9a0bb89ccf84b7ed997cd258cbec3
sha512=c96a7a3ca845ec193e9edc4a74804a22d6e37efc852b54575011879bd2105e0df021408632219f542ca3ad85b36b5c8b72f2b417204d154d5f0dd0839535afa5

doc/lsp.stdune/Stdune/Loc/index.html

Module Stdune.LocSource

Sourcetype t = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
Sourceval none_pos : string -> Lexing.position
Sourcemodule Map : sig ... end
Sourceval in_file : Path.t -> t
Sourceval in_dir : Path.t -> t
Sourceval none : t
Sourceval is_none : t -> bool
Sourceval drop_position : t -> t
Sourceval of_lexbuf : Lexing.lexbuf -> t
Sourceval to_dyn : t -> Dyn.t
Sourceval dyn_of_position_no_file : Lexing.position -> Dyn.t
Sourceval equal : t -> t -> bool
Sourceval of_pos : (string * int * int * int) -> t

To be used with __POS__

Sourceval to_file_colon_line : t -> string
Sourceval pp_file_colon_line : t -> unit Pp.t
Sourceval to_dyn_hum : t -> Dyn.t
Sourcetype tag =
  1. | Loc
Sourceval pp : t -> tag Pp.t
Sourceval render : Format.formatter -> tag Pp.t -> unit
Sourceval on_same_line : t -> t -> bool
Sourceval span : t -> t -> t
OCaml

Innovation. Community. Security.