package ppx_import
Module Ppx_importSource
Source
val try_find_module :
loc:Location.t ->
Ocaml_common.Env.t ->
Longident.t ->
Types.module_type optionSource
val try_find_module_type :
loc:Location.t ->
Ocaml_common.Env.t ->
Longident.t ->
Types.module_type optionSource
val open_module_type :
loc:Location.t ->
Ocaml_common.Env.t ->
Longident.t ->
Types.module_type ->
Types.signatureSource
val locate_sig :
loc:Location.t ->
Ocaml_common.Env.t ->
Ppxlib.Longident.t ->
Types.signatureSource
val get_type_decl :
loc:'a ->
Types.signature_item list ->
Longident.t ->
string ->
Types.type_declarationSource
val get_modtype_decl :
loc:'a ->
Types.signature_item list ->
Longident.t ->
string ->
Types.modtype_declarationSource
val core_type_of_type_expr :
subst:([> `Lid of Longident.t | `Var of string ] * Ppxlib.core_type) list ->
Ocaml_common.Types.type_expr ->
Ppxlib.core_typeSource
val ptype_decl_of_ttype_decl :
manifest:Ppxlib.core_type option ->
subst:([> `Lid of Longident.t | `Var of string ] * Ppxlib.core_type) list ->
string Ppxlib.loc ->
Ocaml_common.Types.type_declaration ->
Ppxlib.type_declarationSource
val subst_of_manifest :
Ppxlib.core_type ->
([> `Lid of Ppxlib.longident ] * Ppxlib.core_type) listSource
val type_declaration :
tool_name:string ->
input_name:string ->
Ppxlib.type_declaration ->
Ppxlib.type_declarationSource
val cut_tsig_block_of_rec_types :
(Ident.t * Types.type_declaration) list ->
Ppx_import__.Compat.signature_item_407 list ->
(Ident.t * Types.type_declaration) list
* Ppx_import__.Compat.signature_item_407 listSource
val psig_of_tsig :
subst:([> `Lid of Longident.t | `Var of string ] * Ppxlib.core_type) list ->
Ppx_import__.Compat.signature_item_407 list ->
Ppxlib.signature_item listSource
val module_type :
tool_name:string ->
input_name:string ->
Ppxlib.package_type ->
Astlib.Ast_500.Parsetree.module_typeSource
val type_declaration_expand :
ctxt:Ppxlib.Expansion_context.Extension.t ->
Ppxlib.type_declaration ->
Ppxlib.type_declarationSource
val module_declaration_expand :
ctxt:Ppxlib.Expansion_context.Extension.t ->
Ppxlib.package_type ->
Astlib.Ast_500.Parsetree.module_type