def all.role

bolt@1.27.0.0 · src/rules/digest.bend:351

import bolt@1.27.0.0/src/rules/digest.bend as Digest
import Base
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/role.bend as Role

351# every file the linter read, each with its role among the marks, in one
352# pass, in order
353def all.role(+ms: List<&2, Role.Mark>, ss: List<&2, Src.Src>) -> List<&2, Digest>:
354  match ss:
355    case Nil{}:
356      Nil{}
357    case Con{s, rest}:
358      of.marked(ms, s) <> all.role(ms, rest)

Uses (5)

Used by (1)