Doc.check.role: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/style/doc.bend as Doc Lines 95-99 of bolt@1.27.0.0/src/rules/style/doc.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/style/doc.bend&start_line=95&end_line=99 import Base import bolt@1.27.0.0/src/src.bend as Src import bolt@1.27.0.0/src/finding.bend as F import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy import bolt@1.27.0.0/src/paths.bend as Paths import bolt@1.27.0.0/src/role.bend as Role # the rule, told the file's role (src/role.bend): a proof file is skipped def check.role(rr: Role.Role, ss: Src.Src) -> List<&2, F.Finding>: Src.Src{+path, text, toks, tree, bound, items} = ss Lazy.stop(List<&2, F.Finding>, Bool.or(Role.is_proof(rr), Paths.is_test(path)), [], _u => check.go(items, path, lines(text, toks))) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/lazy/lazy.bend&name=stop https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/paths.bend&name=is_test https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=Role https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=is_proof https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/style/doc.bend&name=check.go https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/style/doc.bend&name=lines https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/src.bend&name=Src