def item
import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Emptyimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
337# what is skipped after a token: a law, and a def that is a proof, never run
338def item(+kk: Lex.TokKind, +tt: String, rest: List<&2, Lex.Tok>, skip: Bool) -> Bool:
339 match kk:
340 case Lex.TKey{}:
341 item.word(String.eq(code(kk, tt), "def"), code(kk, tt), rest, skip)
342 case other:
343 skip