def of.marked
import bolt@1.27.0.0/src/rules/digest.bend as Digestimport Base
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/role.bend as Role
346# one parsed file's digest, told its role among the marks (src/role.bend)
347def of.marked(+ms: List<&2, Role.Mark>, s2: Src.Src) -> Digest:
348 Src.Src{+path, text, toks, tree, bound, items} = s2
349 of.role(Role.of(ms, path), Src.Src{path, text, toks, tree, bound, items})