package ocaml-webworker

  1. Overview
  2. Docs
val default_loc : Location.t
val default_env : Env.t
type t = {
  1. t_node : Mbrowse.node;
  2. t_loc : Location.t;
  3. t_env : Env.t;
  4. t_children : t list lazy_t;
}
val of_node : ?env:Env.t -> Browse_raw.node -> t
val of_browse : (Env.t * Browse_raw.node) list -> t
val dummy : t
val normalize_type_expr : Env.t -> Types.type_expr -> Types.type_declaration
val normalize_type_decl : Env.t -> Types.type_declaration -> Types.type_declaration
val id_of_constr_decl : Types.constructor_declaration -> Ident.t
val same_constructor : Env.t -> [< `Declaration of Typedtree.constructor_declaration | `Description of Types.constructor_description ] -> [< `Declaration of Typedtree.constructor_declaration | `Description of Types.constructor_description ] -> bool
val all_occurrences : Path.t -> t -> (t * Path.t Location.loc list) list
val all_constructor_occurrences : (t * [< `Declaration of Typedtree.constructor_declaration | `Description of Types.constructor_description ]) -> t -> t Asttypes.loc list
OCaml

Innovation. Community. Security.