package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee

doc/merlin-lib.kernel/Merlin_kernel/Mreader/index.html

Module Merlin_kernel.MreaderSource

Sourcetype parsetree = [
  1. | `Interface of Ocaml_parsing.Parsetree.signature
  2. | `Implementation of Ocaml_parsing.Parsetree.structure
]
Sourcetype comment = string * Ocaml_parsing.Location.t
Sourcetype result = {
  1. lexer_keywords : string list;
  2. lexer_errors : exn list;
  3. parser_errors : exn list;
  4. comments : comment list;
  5. parsetree : parsetree;
  6. no_labels_for_completion : bool;
}
Sourceval with_ambient_reader : Mconfig.t -> Msource.t -> (unit -> 'a) -> 'a
Sourceval parse : ?for_completion:Msource.position -> Mconfig.t -> (Msource.t * parsetree option) -> result
Sourceval print_pretty : Mconfig.t -> Msource.t -> pretty_parsetree -> string
Sourceval print_outcome : Mconfig.t -> Msource.t -> outcometree -> string
Sourceval print_batch_outcome : Mconfig.t -> Msource.t -> outcometree list -> string list
Sourceval reconstruct_identifier : Mconfig.t -> Msource.t -> Lexing.position -> string Ocaml_parsing.Location.loc list