package linol

  1. Overview
  2. Docs
LSP server library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

linol-0.11.tbz
sha256=6718c7ca79ebff542172f20f418f71f3f1679eb6120f543b5c5c28d85906e215
sha512=1e7e963b5af3ea861cc1367ee6e80fd9add8e6809229c2904f7a16e694cb48a2058063bd3856e6440e7b197f753474bf83c0c9ec2d78325cfef2b734eb9d4ca2

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