package coq-lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val loc : t -> Loc.t option
val hash : t -> int
val compare : t -> t -> int
module Id : sig ... end
val make_info : st:State.t -> lines:string array -> t -> Lang.Ast.Info.t list option

make_info ~st ast Compute info about a possible definition in ast, we need ~st to compute the type.

val print : t -> Pp.t

Printing

val pp_loc : ?print_file:bool -> Stdlib.Format.formatter -> Loc.t -> unit
val loc_to_string : ?print_file:bool -> Loc.t -> string
val marshal_in : Stdlib.in_channel -> t

Unused for now

val marshal_out : Stdlib.out_channel -> t -> unit

Internal, will go away once the Lang.t interface is ready