Module Ast_helper.PatSource
Source
val mk :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern_desc ->
Parsetree.patternSource
val any :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
unit ->
Parsetree.patternSource
val var :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
string Asttypes.loc ->
Parsetree.patternSource
val alias :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
string Asttypes.loc ->
Parsetree.patternSource
val constant :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.constant ->
Parsetree.patternSource
val interval :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.constant ->
Parsetree.constant ->
Parsetree.patternSource
val tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(string Asttypes.loc option * Parsetree.pattern) list ->
Asttypes.closed_flag ->
Parsetree.patternSource
val unboxed_tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(string Asttypes.loc option * Parsetree.pattern) list ->
Asttypes.closed_flag ->
Parsetree.patternSource
val unboxed_unit :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
unit ->
Parsetree.patternSource
val unboxed_bool :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
bool ->
Parsetree.patternSource
val construct :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
(Parsetree.ty_var list * Parsetree.pattern) option ->
Parsetree.patternSource
val variant :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.variant_var ->
Parsetree.pattern option ->
Parsetree.patternSource
val record :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.core_type option
* Parsetree.pattern option)
list ->
Asttypes.obj_closed_flag ->
Parsetree.patternSource
val record_unboxed_product :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.core_type option
* Parsetree.pattern option)
list ->
Asttypes.obj_closed_flag ->
Parsetree.patternSource
val array :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.mutable_flag ->
Parsetree.pattern list ->
Parsetree.patternSource
val list :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern list ->
Parsetree.patternSource
val or_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern list ->
Parsetree.patternSource
val constraint_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.core_type option ->
Parsetree.mode Asttypes.loc list ->
Parsetree.patternSource
val type_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.patternSource
val lazy_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.patternSource
val unpack :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
string option Asttypes.loc ->
Parsetree.package_type option ->
Parsetree.patternSource
val open_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.pattern ->
Parsetree.patternSource
val exception_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.patternSource
val extension :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.extension ->
Parsetree.patternSource
val cons :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern list ->
Parsetree.pattern