package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type parameter_info = {
  1. label : Ocaml_parsing.Asttypes.arg_label;
  2. param_start : int;
  3. param_end : int;
  4. argument : Ocaml_typing.Typedtree.expression option;
}
type application_signature = {
  1. function_name : string option;
  2. function_position : Merlin_kernel.Msource.position;
  3. signature : string;
  4. parameters : parameter_info list;
  5. active_param : int option;
}
val application_signature : prefix:string -> cursor:Stdlib.Lexing.position -> Merlin_kernel.Mbrowse.t -> application_signature option

provide signature information for applied functions

val prefix_of_position : short_path:bool -> Merlin_kernel.Msource.t -> Merlin_kernel.Msource.position -> string
OCaml

Innovation. Community. Security.