table of contents
Ast_helper.Pat(3) | OCaml library | Ast_helper.Pat(3) |
NAME¶
Ast_helper.Pat - Patterns
Module¶
Module Ast_helper.Pat
Documentation¶
Module Pat
: sig end
Patterns
val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern_desc -> Parsetree.pattern
val attr : Parsetree.pattern -> Parsetree.attribute -> Parsetree.pattern
val any : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> unit -> Parsetree.pattern
val var : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.str -> Parsetree.pattern
val alias : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Ast_helper.str -> Parsetree.pattern
val constant : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.constant -> Parsetree.pattern
val interval : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.constant -> Parsetree.constant -> Parsetree.pattern
val tuple : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern list -> Parsetree.pattern
val construct : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.lid -> (Ast_helper.str list * Parsetree.pattern) option -> Parsetree.pattern
val variant : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Asttypes.label -> Parsetree.pattern option -> Parsetree.pattern
val record : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> (Ast_helper.lid * Parsetree.pattern) list -> Asttypes.closed_flag -> Parsetree.pattern
val array : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern list -> Parsetree.pattern
val or_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.pattern -> Parsetree.pattern
val constraint_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.core_type -> Parsetree.pattern
val type_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.lid -> Parsetree.pattern
val lazy_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.pattern
val unpack : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.str_opt -> Parsetree.pattern
val open_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.lid -> Parsetree.pattern -> Parsetree.pattern
val exception_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.pattern
val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.extension -> Parsetree.pattern
2024-03-14 | OCamldoc |