package linol

  1. Overview
  2. Docs
LSP server library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

linol-0.12.tbz
sha256=c748f3c03525c1f438ccba7b71d31e91ae7bf4f857fade61005cc4533e3b7fc5
sha512=bc29a1ccf8bfbe7ba39f167397f2d45729e948bfc2db628ba24a1e5239ec64cda7c8356c3824e3c66a3630ca2addb58b444829707f155c2b58aef26c0ddfcabb

doc/linol.lsp/Linol_lsp/Cli/Arg/index.html

Module Cli.ArgSource

Parsing of the standard commnad line arguments using Stdlib.Arg

Sourcetype t
Sourceval create : unit -> t

create () create a new record for arguments

Sourceval spec : t -> (string * Arg.spec * string) list

spec t returns the spec that should be provided to Stdlib.Arg to populate t using the interpreted cli args

Sourceval channel : t -> (Channel.t, string) result

channel t return the channel if correctly supplied. An error if the arguments were provided incorrectly.

Sourceval clientProcessId : t -> int option

Return the process id of the client used to run the lsp server if it was provided