package linol

  1. Overview
  2. Docs
LSP server library

Install

Dune Dependency

Authors

Maintainers

Sources

linol-0.10.tbz
sha256=174bb8cad5b8b0c260d62b0a85da13c4f5caba4fcee042ee58284b09de7896ea
sha512=77460788407c72a33fbe289ec9c78421117543594b3524a5c8fe836f0e272c5ceb1e1074b91c1d1f476f89b75b6f63847a8021675a782ff36457c9626121a7f4

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

OCaml

Innovation. Community. Security.