package override

  1. Overview
  2. Docs
module Types = Signature_types
include sig ... end
type item = Types.item
type module_binding = Types.module_binding
type module_expr = Types.module_expr
type contents = item list
type include_declaration = module_expr Parsetree.include_infos
type wrapped_item = item_desc Location.loc
type !'a attributed = 'a Ast_definitions(Types).attributed = {
  1. attrs : Parsetree.attributes;
  2. contents : 'a;
}
val mkattr : loc:Location.t -> ?attrs:Parsetree.attributes -> 'a -> 'a attributed Location.loc
type module_binding_desc = Ast_definitions(Types).module_binding_desc = {
  1. name : string option Location.loc;
  2. expr : module_expr;
}
type wrapped_module_binding = module_binding_desc attributed Location.loc
type wrapped_module_expr = module_expr_desc attributed Location.loc
val empty : unit -> item
val destruct : item -> wrapped_item
val build : wrapped_item -> item
val choose : (unit -> Parsetree.structure_item) -> (unit -> Parsetree.signature_item) -> item
val format : Stdcompat.Format.formatter -> contents -> unit
val destruct_payload : loc:Location.t -> Parsetree.payload -> contents
val destruct_module_binding : module_binding -> wrapped_module_binding
val build_module_binding : wrapped_module_binding -> module_binding
val destruct_module_expr : module_expr -> wrapped_module_expr
val build_module_expr : wrapped_module_expr -> module_expr
val choose_module_expr : (unit -> Parsetree.module_expr) -> (unit -> Parsetree.module_type) -> module_expr
OCaml

Innovation. Community. Security.