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) Stdlib.ref

trace header extra message

val message_ref : (lvl:Fleche.Io.Level.t -> message:string -> unit) Stdlib.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 build_doc : token:Coq.Limits.Token.t -> uri:Lang.LUri.File.t -> (Fleche.Doc.t, Petanque.Agent.Error.t) Stdlib.Result.t
val get_toc : token:Coq.Limits.Token.t -> doc:Fleche.Doc.t -> ((string * Lang.Ast.Info.t list option) list, Petanque.Agent.Error.t) Stdlib.Result.t
OCaml

Innovation. Community. Security.