package ppxlib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Patterns

Patterns

val mk : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern_desc -> Migrate_parsetree.Ast_411.Parsetree.pattern
val attr : Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.attribute -> Migrate_parsetree.Ast_411.Parsetree.pattern
val any : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> unit -> Migrate_parsetree.Ast_411.Parsetree.pattern
val var : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> string Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern
val alias : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern -> string Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern
val constant : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.constant -> Migrate_parsetree.Ast_411.Parsetree.pattern
val interval : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.constant -> Migrate_parsetree.Ast_411.Parsetree.constant -> Migrate_parsetree.Ast_411.Parsetree.pattern
val tuple : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern list -> Migrate_parsetree.Ast_411.Parsetree.pattern
val construct : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Ocaml_common.Longident.t Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern option -> Migrate_parsetree.Ast_411.Parsetree.pattern
val variant : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Asttypes.label -> Migrate_parsetree.Ast_411.Parsetree.pattern option -> Migrate_parsetree.Ast_411.Parsetree.pattern
val record : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> (Ocaml_common.Longident.t Ocaml_common.Location.loc * Migrate_parsetree.Ast_411.Parsetree.pattern) list -> Migrate_parsetree.Ast_411.Asttypes.closed_flag -> Migrate_parsetree.Ast_411.Parsetree.pattern
val array : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern list -> Migrate_parsetree.Ast_411.Parsetree.pattern
val or_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.pattern
val constraint_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.core_type -> Migrate_parsetree.Ast_411.Parsetree.pattern
val type_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Ocaml_common.Longident.t Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern
val lazy_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.pattern
val unpack : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> string option Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern
val open_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Ocaml_common.Longident.t Ocaml_common.Location.loc -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.pattern
val exception_ : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.pattern -> Migrate_parsetree.Ast_411.Parsetree.pattern
val extension : ?loc:Ocaml_common.Location.t -> ?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list -> Migrate_parsetree.Ast_411.Parsetree.extension -> Migrate_parsetree.Ast_411.Parsetree.pattern
OCaml

Innovation. Community. Security.