package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.3.0.tbz
sha256=598e27258e4749b6e2511e2c5efe00d16f0965806296e808d202cd614d655fba
sha512=febe80f8a88fac7683cafbd045dceee4869beda1f250b78a1d94d3ad19e746388d24869e805abcb2f33f93687508d65db19a38424c1059670915c050b4f6dbb9

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.