package coq-lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

I/O handling, by default, print to stderr

val trace_ref : (string -> ?extra:string -> string -> unit) ref

trace header extra message

val message_ref : (lvl:Fleche.Io.Level.t -> message:string -> unit) ref

message level message

val init_agent : token:Coq.Limits.Token.t -> debug:bool -> roots:string list -> unit Petanque.Agent.R.t

Start the shell, must be called only once.

val set_workspace : token:Coq.Limits.Token.t -> debug:bool -> root:Lang.LUri.File.t -> unit Petanque.Agent.R.t

set_workspace ~root Sets project and workspace settings from root. root needs to be in URI format. If called repeteadly, overrides the previous call.

val get_toc : token:Coq.Limits.Token.t -> doc:Fleche.Doc.t -> ((string * Lang.Ast.Info.t list option) list, Petanque.Agent.Error.t) Result.t
OCaml

Innovation. Community. Security.