Module Ppxlib_ast__.Ast_helper.Pat

Patterns

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