Fromrev.check.role: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/suspicious/fromrev.bend as Fromrev Lines 52-56 of bolt@1.27.0.0/src/rules/suspicious/fromrev.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/suspicious/fromrev.bend&start_line=52&end_line=56 import Base 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/lazy/lazy.bend as Lazy import bolt@1.27.0.0/src/finding.bend as F import bolt@1.27.0.0/src/rules/tokens.bend as T # the rule, told the file's role (src/role.bend): a law or 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>, Role.is_law_file(rr), [], _u => walk(T.sig(toks), path)) Uses (8): 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_law_file https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/suspicious/fromrev.bend&name=walk https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/tokens.bend&name=sig https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/src.bend&name=Src