package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.4.0.tbz
sha256=fd138e6c4fcff32c6d15eb66cc9391b7e1183717a6d1a47c688c7f6d320a159f
sha512=567a73b3c10bb59c5a4d4e8291d1aeefdfd34438a95313fba8a485638294ca5fb8034334719631243c304d3328c27afa90dfd564fdb1e7390507a06db3a4ad03

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.