Closed.check.role: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/laws/closed.bend as Closed Lines 52-55 of bolt@1.27.0.0/src/rules/laws/closed.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/laws/closed.bend&start_line=52&end_line=55 import Base import bolt@1.27.0.0/src/role.bend as Role 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 # the rule, told the file's role (src/role.bend): only a law file is checked 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.not(Role.is_laws(rr)), [], _u => check.go(tree, path)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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/role.bend&name=Role https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=is_laws https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/laws/closed.bend&name=check.go https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/src.bend&name=Src