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 option * Parsetree.pattern) list ->
Asttypes.closed_flag ->
Parsetree.patternSource
val unboxed_tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(string 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 ->
((string Asttypes.loc * Parsetree.jkind_annotation option) list
* Parsetree.pattern)
option ->
Parsetree.patternSource
val variant :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.label ->
Parsetree.pattern option ->
Parsetree.patternSource
val record :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc * Parsetree.pattern) list ->
Asttypes.closed_flag ->
Parsetree.patternSource
val record_unboxed_product :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc * Parsetree.pattern) list ->
Asttypes.closed_flag ->
Parsetree.patternSource
val array :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.mutable_flag ->
Parsetree.pattern list ->
Parsetree.patternSource
val or_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.pattern ->
Parsetree.patternSource
val constraint_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.core_type option ->
Parsetree.modes ->
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.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.pattern