package ocamlformat

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

Patterns

val mk : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern_desc -> Parsetree.pattern
val any : ?loc:loc -> ?attrs:attrs -> unit -> Parsetree.pattern
val var : ?loc:loc -> ?attrs:attrs -> str -> Parsetree.pattern
val alias : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern -> str -> Parsetree.pattern
val constant : ?loc:loc -> ?attrs:attrs -> Parsetree.constant -> Parsetree.pattern
val interval : ?loc:loc -> ?attrs:attrs -> Parsetree.constant -> Parsetree.constant -> Parsetree.pattern
val tuple : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern list -> Parsetree.pattern
val construct : ?loc:loc -> ?attrs:attrs -> lid -> (str list * Parsetree.pattern) option -> Parsetree.pattern
val variant : ?loc:loc -> ?attrs:attrs -> Asttypes.label -> Parsetree.pattern option -> Parsetree.pattern
val record : ?loc:loc -> ?attrs:attrs -> (lid * Parsetree.pattern) list -> Asttypes.obj_closed_flag -> Parsetree.pattern
val array : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern list -> Parsetree.pattern
val list : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern list -> Parsetree.pattern
val constraint_ : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern -> Parsetree.core_type -> Parsetree.pattern
val type_ : ?loc:loc -> ?attrs:attrs -> lid -> Parsetree.pattern
val lazy_ : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern -> Parsetree.pattern
val unpack : ?loc:loc -> ?attrs:attrs -> str_opt -> Parsetree.pattern
val open_ : ?loc:loc -> ?attrs:attrs -> lid -> Parsetree.pattern -> Parsetree.pattern
val exception_ : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern -> Parsetree.pattern
val extension : ?loc:loc -> ?attrs:attrs -> Parsetree.extension -> Parsetree.pattern
val cons : ?loc:loc -> ?attrs:attrs -> Parsetree.pattern list -> Parsetree.pattern
OCaml

Innovation. Community. Security.