Module IR.CapturedVar

type capture_mode =
  1. | ByReference
  2. | ByValue
val compare_capture_mode : capture_mode -> capture_mode -> int
val equal_capture_mode : capture_mode -> capture_mode -> bool
val yojson_of_capture_mode : capture_mode -> Ppx_yojson_conv_lib.Yojson.Safe.t
val sexp_of_capture_mode : capture_mode -> Sexplib0.Sexp.t
val capture_mode_of_sexp : Sexplib0.Sexp.t -> capture_mode
val hash_fold_capture_mode : Ppx_hash_lib.Std.Hash.state -> capture_mode -> Ppx_hash_lib.Std.Hash.state
val hash_capture_mode : capture_mode -> Ppx_hash_lib.Std.Hash.hash_value
val hash_normalize_capture_mode : capture_mode -> capture_mode
val hash_normalize_capture_mode_opt : capture_mode option -> capture_mode option
val hash_normalize_capture_mode_list : capture_mode list -> capture_mode list
val string_of_capture_mode : capture_mode -> string
val is_captured_by_ref : capture_mode -> bool
type t = {
  1. pvar : Pvar.t;
  2. typ : Typ.t;
  3. capture_mode : capture_mode;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
val hash_normalize : t -> t
val hash_normalize_opt : t option -> t option
val hash_normalize_list : t list -> t list
val pp : Stdlib.Format.formatter -> t -> unit