def search.eq
bolt@1.27.0.0 · src/rules/correctness/pick.bend:303
import bolt@1.27.0.0/src/rules/correctness/pick.bend as Pick
import Base
import bolt@1.27.0.0/src/finding.bend as F
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
303
304def search.eq(
305 kx: Lex.TokKind,
306 +xx: String,
307 r1: Tree.Node,
308 rest: Tree.Node,
309 +name: String,
310 +path: String
311) -> List<&2, F.Finding>:
312 match r1:
313 case Tree.NCons{Tree.Leaf{Lex.Tok{_ke, +e, _le, _ce}}, r2}:
314 search.callee(kx, xx, e, r2, rest, name, path)
315 case _other:
316 []