jon.recoil.org

Module Merlin_analysis.Inlay_hints

Builds the list of inlay hints to be displayed on a document.

type hint = Stdlib.Lexing.position * string
val of_structure : hint_let_binding:bool -> hint_pattern_binding:bool -> avoid_ghost_location:bool -> start:Stdlib.Lexing.position -> stop:Stdlib.Lexing.position -> Ocaml_typing.Typedtree.structure -> Merlin_analysis.Inlay_hints.hint list