Scroll to navigation

Ast_helper.Te(3) OCaml library Ast_helper.Te(3)

NAME

Ast_helper.Te - Type extensions

Module

Module Ast_helper.Te

Documentation

Module Te
: sig end

Type extensions

val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs -> ?params:(Parsetree.core_type * (Asttypes.variance * Asttypes.injectivity)) list -> ?priv:Asttypes.private_flag -> Ast_helper.lid -> Parsetree.extension_constructor list -> Parsetree.type_extension

val mk_exception : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs -> Parsetree.extension_constructor -> Parsetree.type_exception

val constructor : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str -> Parsetree.extension_constructor_kind -> Parsetree.extension_constructor

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

val rebind : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs -> ?info:Docstrings.info -> Ast_helper.str -> Ast_helper.lid -> Parsetree.extension_constructor

2024-03-14 OCamldoc