package ppx_ast

  1. Overview
  2. Docs

Expressions

val mk : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression_desc -> Ppx_ast__.Import.Parsetree.expression
val attr : Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.attribute -> Ppx_ast__.Import.Parsetree.expression
val ident : ?loc:loc -> ?attrs:attrs -> lid -> Ppx_ast__.Import.Parsetree.expression
val constant : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.constant -> Ppx_ast__.Import.Parsetree.expression
val let_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Asttypes.rec_flag -> Ppx_ast__.Import.Parsetree.value_binding list -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val fun_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Asttypes.arg_label -> Ppx_ast__.Import.Parsetree.expression option -> Ppx_ast__.Import.Parsetree.pattern -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val function_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.case list -> Ppx_ast__.Import.Parsetree.expression
val apply : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> (Ppx_ast__.Import.Asttypes.arg_label * Ppx_ast__.Import.Parsetree.expression) list -> Ppx_ast__.Import.Parsetree.expression
val match_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.case list -> Ppx_ast__.Import.Parsetree.expression
val try_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.case list -> Ppx_ast__.Import.Parsetree.expression
val tuple : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression list -> Ppx_ast__.Import.Parsetree.expression
val construct : ?loc:loc -> ?attrs:attrs -> lid -> Ppx_ast__.Import.Parsetree.expression option -> Ppx_ast__.Import.Parsetree.expression
val variant : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Asttypes.label -> Ppx_ast__.Import.Parsetree.expression option -> Ppx_ast__.Import.Parsetree.expression
val record : ?loc:loc -> ?attrs:attrs -> (lid * Ppx_ast__.Import.Parsetree.expression) list -> Ppx_ast__.Import.Parsetree.expression option -> Ppx_ast__.Import.Parsetree.expression
val field : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> lid -> Ppx_ast__.Import.Parsetree.expression
val setfield : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> lid -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val array : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression list -> Ppx_ast__.Import.Parsetree.expression
val ifthenelse : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression option -> Ppx_ast__.Import.Parsetree.expression
val sequence : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val while_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val for_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.pattern -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Asttypes.direction_flag -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val coerce : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.core_type option -> Ppx_ast__.Import.Parsetree.core_type -> Ppx_ast__.Import.Parsetree.expression
val constraint_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.core_type -> Ppx_ast__.Import.Parsetree.expression
val send : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> string -> Ppx_ast__.Import.Parsetree.expression
val new_ : ?loc:loc -> ?attrs:attrs -> lid -> Ppx_ast__.Import.Parsetree.expression
val setinstvar : ?loc:loc -> ?attrs:attrs -> str -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val override : ?loc:loc -> ?attrs:attrs -> (str * Ppx_ast__.Import.Parsetree.expression) list -> Ppx_ast__.Import.Parsetree.expression
val letmodule : ?loc:loc -> ?attrs:attrs -> str -> Ppx_ast__.Import.Parsetree.module_expr -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val letexception : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.extension_constructor -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val assert_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val lazy_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val poly : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.core_type option -> Ppx_ast__.Import.Parsetree.expression
val object_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.class_structure -> Ppx_ast__.Import.Parsetree.expression
val newtype : ?loc:loc -> ?attrs:attrs -> string -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val pack : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.module_expr -> Ppx_ast__.Import.Parsetree.expression
val open_ : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Asttypes.override_flag -> lid -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression
val extension : ?loc:loc -> ?attrs:attrs -> Ppx_ast__.Import.Parsetree.extension -> Ppx_ast__.Import.Parsetree.expression
val unreachable : ?loc:loc -> ?attrs:attrs -> unit -> Ppx_ast__.Import.Parsetree.expression
val case : Ppx_ast__.Import.Parsetree.pattern -> ?guard:Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.expression -> Ppx_ast__.Import.Parsetree.case
OCaml

Innovation. Community. Security.