Module Kernel_ast.Information

module Information: sig .. end

val register : id:string ->
label:string ->
title:string ->
?enable:(unit -> bool) ->
(Stdlib.Format.formatter -> Printer_tag.localizable -> unit) -> unit

Registers a marker information printer. Identifier id shall be unique. Label label shall be very short. Description shall succinctly describe the kind of information. If the optional enable function is provided, the information printer is only used when enable () returns true. The printer is allowed to raise Not_found exception when there is no information for the localizable.

val signal : Request.signal

Updated information signal

val update : unit -> unit

Emits a signal to server clients to reload AST marker information.