static MultiMap codeTokenIndex(LS tok) { new MultiMap index; for (int i = 1; i < l(tok); i += 2) index.put(tok.get(i), i); ret index; }