def work.name

bolt@1.27.0.0 · src/rules/suspicious/eager.bend:92

import bolt@1.27.0.0/src/rules/suspicious/eager.bend as Eager
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

92# can the leaf name a call (it is neither a `=>` nor a comma)?
93def work.name(kk: Lex.TokKind) -> Bool:
94  match kk:
95    case Lex.TLam{}:
96      False{}
97    case Lex.TComma{}:
98      False{}
99    case other:
100      True{}

Uses (2)

Used by (1)