BPREVIOUS

BPREVIOUS(t;x) finds the numbers of the nodes immediately above nodes x in tree t (or * for the root of the tree).