pub fn parse_reftarget(target: &str) -> (String, String, String, bool)Expand description
Port of parse_reftarget (_annotations.py:30-55), suppress_prefix
fixed to False: returns (reftype, reftarget, title, refspecific).
Leading . โ strip + refspecific; leading ~ โ strip + title = last
dotted component; typing. prefix โ stripped from the TITLE only; the
reftype is "obj" for None and typing.* targets, else "class"
[PY ยง2.3].