def found

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

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

345# the kept test a token opens, if any, outside what is skipped
346def found(skip: Bool, kk: Lex.TokKind, rest: List<&2, Lex.Tok>) -> Maybe<&2, Hit>:
347  match skip:
348    case True{}:
349      None{}
350    case False{}:
351      at(kk, rest)

Uses (7)

Used by (1)