package ocaml-webworker

  1. Overview
  2. Docs
module Compl : sig ... end
type completions = Compl.t
type outline = item list
and item = {
  1. outline_name : string;
  2. outline_kind : [ `Value | `Constructor | `Label | `Module | `Modtype | `Type | `Exn | `Class | `Method ];
  3. location : Location_aux.t;
  4. children : outline;
}
type shape = {
  1. shape_loc : Location_aux.t;
  2. shape_sub : shape list;
}
type is_tail_position = [
  1. | `No
  2. | `Tail_position
  3. | `Tail_call
]
type _ _bool = bool
type _ t =
  1. | Type_expr : string * Msource.position -> string t
  2. | Type_enclosing : (string * int) option * Msource.position * int option -> (Location.t * [ `String of string | `Index of int ] * is_tail_position) list t
  3. | Enclosing : Msource.position -> Location.t list t
  4. | Complete_prefix : string * Msource.position * [ `with_documentation ] _bool * [ `with_types ] _bool -> completions t
  5. | Expand_prefix : string * Msource.position * [ `with_types ] _bool -> completions t
  6. | Document : string option * Msource.position -> [ `Found of string | `Invalid_context | `Builtin of string | `Not_in_env of string | `File_not_found of string | `Not_found of string * string option | `No_documentation ] t
  7. | Locate : string option * [ `ML | `MLI ] * Msource.position -> [ `Found of string option * Lexing.position | `Invalid_context | `Builtin of string | `Not_in_env of string | `File_not_found of string | `Not_found of string * string option | `At_origin ] t
  8. | Jump : string * Msource.position -> [ `Found of Lexing.position | `Error of string ] t
  9. | Phrase : [ `Next | `Prev ] * Msource.position -> Lexing.position t
  10. | Case_analysis : Msource.position * Msource.position -> (Location.t * string) t
  11. | Outline : outline t
  12. | Shape : Msource.position -> shape list t
  13. | Errors : Location.error list t
  14. | Dump : Std.json list -> Std.json t
  15. | Path_of_source : string list -> string t
  16. | List_modules : string list -> string list t
  17. | Findlib_list : string list t
  18. | Extension_list : [ `All | `Enabled | `Disabled ] -> string list t
  19. | Path_list : [ `Build | `Source ] -> string list t
  20. | Occurrences : [ `Ident_at of Msource.position ] -> Location.t list t
  21. | Version : string t
OCaml

Innovation. Community. Security.