static L splitAtDoubleArrow_bothDirections(S s) { ret splitAtDoubleArrow_bothDirections(javaTok(s)); } static L splitAtDoubleArrow_bothDirections(L tok) { L l = splitAtDoubleArrow(tok); if (l(l) != 2) l = reversedList(splitAtDoubleLeftArrow(tok)); ret l; }