type t = | Base of InferIR.AccessPath.base |
| FieldOffset of t * InferIR.Typ.Fieldname.t |
| ArrayOffset of t * InferIR.Typ.t * t list |
| AddressOf of t |
| Dereference of t |
val to_access_path : t ‑> InferIR.AccessPath.tval to_access_paths : t list ‑> InferIR.AccessPath.t listval get_base : t ‑> InferIR.AccessPath.baseval replace_base : remove_deref_after_base:bool ‑> InferIR.AccessPath.base ‑> t ‑> tval is_base : t ‑> boolval get_typ : t ‑> InferIR.Tenv.t ‑> InferIR.Typ.t optionval pp : Format.formatter ‑> t ‑> unitval of_lhs_exp : include_array_indexes:bool ‑> add_deref:bool ‑> InferIR.Exp.t ‑> InferIR.Typ.t ‑> f_resolve_id:(InferIR.Var.t ‑> t option) ‑> t optionconvert lhs_exp to an access expression, resolving identifiers using f_resolve_id