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