static L indicesOfAngleBracketVars(L tok) { new L l; for i over tok: if (isAngleBracketVar(tok)) l.add(i); ret l; }