def item.other

bolt@1.27.0.0 · src/rules/suspicious/empty.bend:323

import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Empty
import Base

323# what is skipped after a token that is no def: inside a law, from `law` on;
324# code again from `type` or `import`; else as before
325def item.other(+word: String, skip: Bool) -> Bool:
326  Bool.pick(Bool, String.eq(word, "law"), True{}, Bool.pick(Bool, Bool.or(String.eq(word, "type"),
327    String.eq(word, "import")), False{}, skip))

Uses (5)

Used by (1)