jon.recoil.org

Module Merlin_kernel.Mreader

type parsetree = [
  1. | `Interface of Ocaml_parsing.Parsetree.signature
  2. | `Implementation of Ocaml_parsing.Parsetree.structure
]
type comment = string * Ocaml_parsing.Location.t
type result = {
  1. lexer_keywords : string list;
  2. lexer_errors : exn list;
  3. parser_errors : exn list;
  4. comments : Merlin_kernel.Mreader.comment list;
  5. parsetree : Merlin_kernel.Mreader.parsetree;
  6. no_labels_for_completion : bool;
}
val with_ambient_reader : Merlin_kernel.Mconfig.t -> Merlin_kernel.Msource.t -> (unit -> 'a) -> 'a
val print_batch_outcome : Merlin_kernel.Mconfig.t -> Merlin_kernel.Msource.t -> Merlin_kernel.Mreader.outcometree list -> string list