static bool tok_hasClassRef(L tok, S className) { for (int i = 1; i < l(tok); i += 2) if (eq(tok.get(i), className) && neq(get(tok, i-2), "ifclass")) true; false }