Module Ast_helper.TeSource
Type extensions
Source
val mk :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
?docs:Docstrings.docs ->
?params:(Parsetree.core_type * Asttypes.variance_and_injectivity) list ->
?priv:Asttypes.private_flag ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.extension_constructor list ->
Parsetree.type_extensionSource
val mk_exception :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
?docs:Docstrings.docs ->
Parsetree.extension_constructor ->
Parsetree.type_exceptionSource
val constructor :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
?docs:Docstrings.docs ->
?info:Docstrings.docstring option ->
string Asttypes.loc ->
Parsetree.extension_constructor_kind ->
Parsetree.extension_constructorSource
val decl :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
?docs:Docstrings.docs ->
?info:Docstrings.docstring option ->
?vars:Parsetree.ty_var list ->
?args:Parsetree.constructor_arguments ->
?res:Parsetree.core_type ->
string Asttypes.loc ->
Parsetree.extension_constructorSource
val rebind :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
?docs:Docstrings.docs ->
?info:Docstrings.docstring option ->
string Asttypes.loc ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.extension_constructor