package ocaml-base-compiler

  1. Overview
  2. Docs

Expressions

val ident : ?loc:loc -> ?attrs:attrs -> lid -> Parsetree.expression
val constant : ?loc:loc -> ?attrs:attrs -> Parsetree.constant -> Parsetree.expression
val function_ : ?loc:loc -> ?attrs:attrs -> Parsetree.case 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 array : ?loc:loc -> ?attrs:attrs -> Parsetree.expression list -> Parsetree.expression
val constraint_ : ?loc:loc -> ?attrs:attrs -> Parsetree.expression -> Parsetree.core_type -> Parsetree.expression
val send : ?loc:loc -> ?attrs:attrs -> Parsetree.expression -> string -> 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 -> Parsetree.module_expr -> 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 -> string -> Parsetree.expression -> Parsetree.expression
val pack : ?loc:loc -> ?attrs:attrs -> Parsetree.module_expr -> Parsetree.expression
val extension : ?loc:loc -> ?attrs:attrs -> Parsetree.extension -> Parsetree.expression
val unreachable : ?loc:loc -> ?attrs:attrs -> unit -> Parsetree.expression
OCaml

Innovation. Community. Security.