def site.name
bolt@1.27.0.0 · src/rules/suspicious/thunk.bend:99
import bolt@1.27.0.0/src/rules/suspicious/thunk.bend as Thunk
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
99
100def site.name(
101 kp: Lex.TokKind,
102 +pp: String,
103 +aa: String,
104 r2: Tree.Node,
105 +name: String,
106 +path: String
107) -> List<&2, F.Finding>:
108 match r2:
109 case Tree.NCons{Tree.Leaf{Lex.Tok{_kn, +n, +l, +c}}, r3}:
110 site.group(kp, pp, aa, n, l, c, r3, name, path)
111 case _other:
112 []