Module Ast_helper.ExpSource
Source
val mk :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression_desc ->
Parsetree.expressionSource
val ident :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expressionSource
val constant :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.constant ->
Parsetree.expressionSource
val let_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.value_bindings ->
Parsetree.expression ->
Parsetree.expressionSource
val fun_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.function_param ->
Parsetree.expression ->
Parsetree.expressionSource
val function_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.case list ->
Parsetree.expressionSource
val apply :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
(Asttypes.arg_label * Parsetree.expression) list ->
Parsetree.expressionSource
val match_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.case list ->
Parsetree.expressionSource
val try_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.case list ->
Parsetree.expressionSource
val tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(string Asttypes.loc option * Parsetree.expression) list ->
Parsetree.expressionSource
val unboxed_tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(string Asttypes.loc option * Parsetree.expression) list ->
Parsetree.expressionSource
val unboxed_unit :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
unit ->
Parsetree.expressionSource
val unboxed_bool :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
bool ->
Parsetree.expressionSource
val construct :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expression option ->
Parsetree.expressionSource
val variant :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.variant_var ->
Parsetree.expression option ->
Parsetree.expressionSource
val record :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.type_constraint option
* Parsetree.expression option)
list ->
Parsetree.expression option ->
Parsetree.expressionSource
val record_unboxed_product :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.type_constraint option
* Parsetree.expression option)
list ->
Parsetree.expression option ->
Parsetree.expressionSource
val field :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expressionSource
val unboxed_field :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expressionSource
val setfield :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expression ->
Parsetree.expressionSource
val array :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.mutable_flag ->
Parsetree.expression list ->
Parsetree.expressionSource
val idx :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.block_access ->
Parsetree.unboxed_access list ->
Parsetree.expressionSource
val list :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression list ->
Parsetree.expressionSource
val ifthenelse :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.if_branch list ->
Parsetree.expression option ->
Parsetree.expressionSource
val sequence :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expression ->
Parsetree.expressionSource
val while_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expression ->
Parsetree.expressionSource
val for_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.pattern ->
Parsetree.expression ->
Parsetree.expression ->
Asttypes.direction_flag ->
Parsetree.expression ->
Parsetree.expressionSource
val constraint_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.core_type option ->
Parsetree.mode Asttypes.loc list ->
Parsetree.expressionSource
val coerce :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.core_type option ->
Parsetree.core_type ->
Parsetree.expressionSource
val send :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Asttypes.label Asttypes.loc ->
Parsetree.expressionSource
val new_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expressionSource
val setinstvar :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.label Asttypes.loc ->
Parsetree.expression ->
Parsetree.expressionSource
val indexop_access :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.indexop_access_kind ->
Asttypes.paren_kind ->
Parsetree.expression option ->
Parsetree.expressionSource
val override :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
(Asttypes.label Asttypes.loc * Parsetree.expression) list ->
Parsetree.expressionSource
val letmodule :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
string option Asttypes.loc ->
Parsetree.modes ->
Parsetree.functor_parameter Asttypes.loc list ->
Parsetree.module_expr ->
Parsetree.expression ->
Parsetree.expressionSource
val letexception :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.extension_constructor ->
Parsetree.expression ->
Parsetree.expressionSource
val assert_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val lazy_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val poly :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.core_type option ->
Parsetree.expressionSource
val object_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.class_structure ->
Parsetree.expressionSource
val newtype :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.ty_var ->
Parsetree.expression ->
Parsetree.expressionSource
val pack :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.module_expr ->
Parsetree.package_type option ->
Parsetree.expressionSource
val open_ :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Ocaml_common.Longident.t Asttypes.loc ->
Parsetree.expression ->
Parsetree.expressionSource
val letopen :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.open_declaration ->
Parsetree.expression ->
Parsetree.expressionSource
val letop :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.binding_op ->
Parsetree.binding_op list ->
Parsetree.expression ->
Parsetree.expressionSource
val extension :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.extension ->
Parsetree.expressionSource
val unreachable :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
unit ->
Parsetree.expressionSource
val stack :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val borrow :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val hole :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
unit ->
Parsetree.expressionSource
val beginend :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val parens :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val cons :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression list ->
Parsetree.expressionSource
val prefix :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
string Asttypes.loc ->
Parsetree.expression ->
Parsetree.expressionSource
val infix :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
string Asttypes.loc ->
Parsetree.expression ->
Parsetree.expression ->
Parsetree.expressionSource
val list_comp :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.comprehension ->
Parsetree.expressionSource
val array_comp :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Asttypes.mutable_flag ->
Parsetree.comprehension ->
Parsetree.expressionSource
val quote :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val splice :
?loc:Ocaml_common.Location.t ->
?attrs:Parsetree.attributes ->
Parsetree.expression ->
Parsetree.expressionSource
val case :
Parsetree.pattern ->
?guard:Parsetree.expression ->
Parsetree.expression ->
Parsetree.caseSource
val binding_op :
string Asttypes.loc ->
Parsetree.pattern ->
Parsetree.expression ->
bool ->
Ocaml_common.Location.t ->
Parsetree.binding_op