package metapp

  1. Overview
  2. Docs
include ExtensibleS
include VisitableS
type t
val to_loc : t -> Location.t
val extension : ?attrs:Parsetree.attributes -> Parsetree.extension -> t
val destruct_extension : t -> Parsetree.extension option
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 -> (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
val of_payload : Parsetree.payload -> t
val to_payload : t -> Parsetree.payload
OCaml

Innovation. Community. Security.