package ocaml-webworker

  1. Overview
  2. Docs
type node = Browse_raw.node
type t = (Env.t * node) list
val node_of_binary_part : Env.t -> Cmt_format.binary_part -> Browse_raw.node
val fold_node : 'a Browse_raw.f0 -> Env.t -> Browse_raw.node -> 'a -> 'a
val approximate_loc : (Location.t -> Browse_raw.node -> Location.t) -> Browse_raw.node -> Location.t
val node_loc : Browse_raw.node -> Location.t
val node_merlin_loc : Browse_raw.node -> Location.t
val leaf_node : 'a list -> 'a
val leaf_loc : ('a * Browse_raw.node) list -> Location.t
val drop_leaf : 'a list -> 'a list option
val has_attr : 'a -> ('a Location.loc * 'b) list -> bool
val select_leafs : Std.Lexing.position -> (Env.t * Browse_raw.node) list -> (Env.t * Browse_raw.node) list list
val compare_locations : Std.Lexing.position -> Location.t -> Location.t -> int
val best_node : Std.Lexing.position -> ('a * Browse_raw.node) list list -> ('a * Browse_raw.node) list
val enclosing : Std.Lexing.position -> (Env.t * Browse_raw.node) list list -> (Env.t * Browse_raw.node) list
val deepest_before : Std.Lexing.position -> (Env.t * Browse_raw.node) list list -> (Env.t * Browse_raw.node) list
val of_structure : Typedtree.structure -> (Env.t * Browse_raw.node) list
val of_signature : Typedtree.signature -> (Env.t * Browse_raw.node) list
val of_typedtree : [< `Implementation of Typedtree.structure | `Interface of Typedtree.signature ] -> (Env.t * Browse_raw.node) list
val optional_label_sugar : Typedtree.expression_desc -> Typedtree.expression option
val is_recovered_expression : Typedtree.expression -> bool
val is_recovered_Texp_construct : Typedtree.expression_desc -> bool
val is_recovered : Browse_raw.node -> bool
val print_node : unit -> Browse_raw.node -> string
val print : unit -> ('a * Browse_raw.node) list -> string
OCaml

Innovation. Community. Security.