Module Ast_helper.Te

Type extensions

val mk_exception : ?loc:loc -> ?attrs:attrs -> ?docs:Docstrings.docs -> Parsetree.extension_constructor -> Parsetree.type_exception
val decl : ?loc:loc -> ?attrs:attrs -> ?docs:Docstrings.docs -> ?info:Docstrings.info -> ?vars:str list -> ?args:Parsetree.constructor_arguments -> ?res:Parsetree.core_type -> str -> Parsetree.extension_constructor
val rebind : ?loc:loc -> ?attrs:attrs -> ?docs:Docstrings.docs -> ?info:Docstrings.info -> str -> lid -> Parsetree.extension_constructor