package metaquot

  1. Overview
  2. Docs
include Metapp.ValueS with type t = Parsetree.pattern
val var : ?attrs:Parsetree.attributes -> string -> t
val of_constant : ?attrs:Parsetree.attributes -> Parsetree.constant -> t
val of_bytes : ?attrs:Parsetree.attributes -> Stdcompat.bytes -> t
val force_tuple : ?attrs:Parsetree.attributes -> t list -> t
val force_construct : ?attrs:Parsetree.attributes -> Ast_helper.lid -> t option -> t
val array : ?attrs:Parsetree.attributes -> t list -> t
val record : ?attrs:Parsetree.attributes -> (Metapp.Longident.t * t) list -> t
val variant : ?attrs:Parsetree.attributes -> string -> t option -> t
val lazy_ : ?attrs:Parsetree.attributes -> t -> t
val choice : (unit -> Parsetree.expression) -> (unit -> Parsetree.pattern) -> t
include Metapp.PayloadS with type t := t
val of_payload : Parsetree.payload -> t
val to_payload : t -> Parsetree.payload
val of_int : ?attrs:Parsetree.attributes -> int -> t
val of_string : ?attrs:Parsetree.attributes -> string -> t
val of_char : ?attrs:Parsetree.attributes -> char -> t
val of_unit : ?attrs:Parsetree.attributes -> unit -> t
val of_bool : ?attrs:Parsetree.attributes -> bool -> t
val of_float : ?attrs:Parsetree.attributes -> float -> t
val of_int32 : ?attrs:Parsetree.attributes -> int32 -> t
val of_int64 : ?attrs:Parsetree.attributes -> int64 -> t
val of_nativeint : ?attrs:Parsetree.attributes -> nativeint -> t
val none : ?attrs:Parsetree.attributes -> unit -> t
val some : ?attrs:Parsetree.attributes -> t -> t
val option : ?attrs:Parsetree.attributes -> t option -> t
val of_longident : Metapp.Longident.t -> t
val construct : ?attrs:Parsetree.attributes -> Metapp.Longident.t -> t list -> t
val tuple : ?attrs:Parsetree.attributes -> t list -> t
val nil : ?attrs:Parsetree.attributes -> ?prefix:Metapp.Longident.t -> unit -> t
val cons : ?attrs:Parsetree.attributes -> ?prefix:Metapp.Longident.t -> t -> t -> t
val list : ?attrs:Parsetree.attributes -> ?prefix:Metapp.Longident.t -> t list -> t
val quote_location : Location.t -> t
val quote_location_stack : _ -> t