Module DocOckResolve

type 'a resolver
val build_resolver : ?⁠equal:('a ‑> 'a ‑> bool) ‑> ?⁠hash:('a ‑> int) ‑> ('a DocOckTypes.Unit.t ‑> string ‑> 'a DocOckComponentTbl.lookup_result) ‑> ('a ‑> 'a DocOckTypes.Unit.t) ‑> 'a resolver

Lazily extract the components of units. Assumes that it is safe to use Hashtbl.hash and structural equality (=) on 'a.

val resolve : 'a resolver ‑> 'a DocOckTypes.Unit.t ‑> 'a DocOckTypes.Unit.t

Try to resolve all paths and references within a unit.