def opener

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

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

55# a bracket that opens a group, or a comma inside one: what may stand right
56# before a test
57def opener(kk: Lex.TokKind) -> Bool:
58  match kk:
59    case Lex.TOpen{}:
60      True{}
61    case Lex.TComma{}:
62      True{}
63    case other:
64      False{}

Uses (2)

Used by (1)