Module Ppx_ast.Ast_helper.Pat

Patterns

val mk : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern_desc ‑> Ppx_ast__.Import.Parsetree.pattern
val attr : Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.attribute ‑> Ppx_ast__.Import.Parsetree.pattern
val any : ?loc:loc ‑> ?attrs:attrs ‑> unit ‑> Ppx_ast__.Import.Parsetree.pattern
val var : ?loc:loc ‑> ?attrs:attrs ‑> str ‑> Ppx_ast__.Import.Parsetree.pattern
val alias : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern ‑> str ‑> Ppx_ast__.Import.Parsetree.pattern
val constant : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.constant ‑> Ppx_ast__.Import.Parsetree.pattern
val interval : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.constant ‑> Ppx_ast__.Import.Parsetree.constant ‑> Ppx_ast__.Import.Parsetree.pattern
val tuple : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern list ‑> Ppx_ast__.Import.Parsetree.pattern
val construct : ?loc:loc ‑> ?attrs:attrs ‑> lid ‑> Ppx_ast__.Import.Parsetree.pattern option ‑> Ppx_ast__.Import.Parsetree.pattern
val variant : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Asttypes.label ‑> Ppx_ast__.Import.Parsetree.pattern option ‑> Ppx_ast__.Import.Parsetree.pattern
val record : ?loc:loc ‑> ?attrs:attrs ‑> (lid * Ppx_ast__.Import.Parsetree.pattern) list ‑> Ppx_ast__.Import.Asttypes.closed_flag ‑> Ppx_ast__.Import.Parsetree.pattern
val array : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern list ‑> Ppx_ast__.Import.Parsetree.pattern
val or_ : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.pattern
val constraint_ : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.core_type ‑> Ppx_ast__.Import.Parsetree.pattern
val type_ : ?loc:loc ‑> ?attrs:attrs ‑> lid ‑> Ppx_ast__.Import.Parsetree.pattern
val lazy_ : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.pattern
val unpack : ?loc:loc ‑> ?attrs:attrs ‑> str ‑> Ppx_ast__.Import.Parsetree.pattern
val exception_ : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.pattern ‑> Ppx_ast__.Import.Parsetree.pattern
val extension : ?loc:loc ‑> ?attrs:attrs ‑> Ppx_ast__.Import.Parsetree.extension ‑> Ppx_ast__.Import.Parsetree.pattern