Plan.per_file.role: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lint/plan.bend as Plan Lines 378-387 of bolt@1.27.0.0/src/lint/plan.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lint/plan.bend&start_line=378&end_line=387 import Base import bolt@1.27.0.0/src/finding.bend as F import bolt@1.27.0.0/src/src.bend as Src import bolt@1.27.0.0/src/role.bend as Role import bolt@1.27.0.0/src/rules.bend as Rules # every source's findings from the per-file rules, each told its role among # the marks (src/role.bend) def per_file.role(+ms: List<&2, Role.Mark>, ss: List<&2, Src.Src>) -> List<&2, F.Finding>: match ss: case Nil{}: Nil{} case Con{s, rest}: Src.Src{+path, text, toks, tree, bound, items} = s List.concat(&2, F.Finding, [Rules.on.role(Role.of(ms, path), Src.Src{path, text, toks, tree, bound, items}), per_file.role(ms, rest)]) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.concat https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/finding.bend&name=Finding https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=Mark https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=of https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules.bend&name=on.role https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/src.bend&name=Src