IR.Fieldnameval compare_captured_data : captured_data -> captured_data -> intval equal_captured_data : captured_data -> captured_data -> boolval yojson_of_captured_data :
captured_data ->
Ppx_yojson_conv_lib.Yojson.Safe.tval sexp_of_captured_data : captured_data -> Sexplib0.Sexp.tval captured_data_of_sexp : Sexplib0.Sexp.t -> captured_dataval hash_fold_captured_data :
Ppx_hash_lib.Std.Hash.state ->
captured_data ->
Ppx_hash_lib.Std.Hash.stateval hash_captured_data : captured_data -> Ppx_hash_lib.Std.Hash.hash_valueval hash_normalize_captured_data : captured_data -> captured_dataval hash_normalize_captured_data_opt :
captured_data option ->
captured_data optionval hash_normalize_captured_data_list :
captured_data list ->
captured_data listinclude Ppx_compare_lib.Comparable.S with type t := tval compare : t Base__Ppx_compare_lib.compareinclude Ppx_compare_lib.Equal.S with type t := tval equal : t Base__Ppx_compare_lib.equalval yojson_of_t : t -> Ppx_yojson_conv_lib.Yojson.Safe.tSimilar to compare, but compares only names, except template arguments.
val make :
?captured_data:captured_data ->
?is_weak:bool ->
Typ.Name.t ->
string ->
tcreate a field of the given class and fieldname
val get_class_name : t -> Typ.Name.tval get_field_name : t -> stringval mk_capture_field_in_closure :
Mangled.t ->
captured_data ->
is_weak:bool ->
tval is_capture_field_in_closure : t -> boolval is_weak : t -> bool optionval is_capture_field_in_closure_by_ref : t -> boolval is_capture_field_function_pointer : t -> boolval is_java : t -> boolval is_java_synthetic : t -> boolCheck if the field is autogenerated/synthetic *
val is_internal : t -> boolCheck if the field has the prefix "__" or "_M_" (internal field of std::thread::id)
module Set : IStdlib.PrettyPrintable.PPSet with type elt = tSet for fieldnames
module Map : IStdlib.PrettyPrintable.PPMap with type key = tMap for fieldnames
val is_java_outer_instance : t -> boolCheck if the field is the synthetic this$n of a nested class, used to access the n-th outer instance.
val to_string : t -> stringConvert a field name to a string.
val to_full_string : t -> stringval to_simplified_string : t -> stringConvert a fieldname to a simplified string with at most one-level path. For example,
val patterns_match : Str.regexp list -> t -> boolTest whether a field full string matches to one of the regular expressions.
val pp : F.formatter -> t -> unitPretty print a field name.