def check

bolt@1.27.0.0 · src/rules/suspicious/fromrev.bend:47

import bolt@1.27.0.0/src/rules/suspicious/fromrev.bend as Fromrev
import Base
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/paths.bend as Paths
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

47# the rule
48def check(ss: Src.Src) -> List<&2, F.Finding>:
49  Src.Src{+path, text, toks, tree, bound, items} = ss
50  Lazy.stop(List<&2, F.Finding>, Paths.is_law_file(path), [], _u => walk(T.sig(toks), path))

Uses (7)

Used by (0)

No other definition uses this definition.