package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.2.0.tbz
sha256=e4e56590b9af02160e5af7733763897d7cfe3f9b876692af4d4184ab0fce4bcb
sha512=724d5190a678ca8a3f3c13915cbfcf8d3cce8efa43e0dde130b14c45065b6ccd22507951e79977bcecf361c7928f271d312b87642bb2c52f33669c3e952a7e1b

doc/lsp.stdune/Stdune/Path/Local_gen/index.html

Module Path.Local_gen

Relative path relative to the root tracked by the type system.

Represented as: either the root, or a '/' separated list of components other that ".", ".." and not containing a '/'.

type 'w t
val hash : 'w t -> int
val to_string : 'w t -> string
val of_string : string -> 'w t
val parse_string_exn : loc:Stdune__.Loc0.t -> string -> 'w t
val compare : 'w t -> 'w t -> Ordering.t

a directory is smaller than its descendants

val to_dyn : 'w t -> Dyn.t
val extension : 'w t -> string
val set_extension : 'w t -> ext:string -> 'w t

set_extension path ~ext replaces extension of path by ext

val split_extension : 'w t -> 'w t * string
val basename : 'w t -> string
val extend_basename : 'w t -> suffix:string -> 'w t
module Fix_root (Root : sig ... end) : sig ... end
val relative : ?error_loc:Stdune__.Loc0.t -> 'w t -> string -> 'w t
val to_string_maybe_quoted : 'w t -> string
val is_descendant : 'w t -> of_:'w t -> bool
val is_root : 'w t -> bool
val parent_exn : 'w t -> 'w t
val parent : 'w t -> 'w t option
val explode : 'w t -> string list
val root : 'w t
val append : 'w t -> Stdune__.Path_intf.Unspecified.w t -> 'w t
val descendant : 'w t -> of_:'w t -> Stdune__.Path_intf.Unspecified.w t option
val reach : 'w t -> from:'w t -> string
val split_first_component : 'w t -> (string * Stdune__.Path_intf.Unspecified.w t) option
module L : sig ... end
OCaml

Innovation. Community. Security.