def check
import bolt@1.27.0.0/src/rules/pedantic/foreign.bend as Foreignimport Base
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/finding.bend as F
98# the rule
99def check(ss: Src.Src) -> List<&2, F.Finding>:
100 Src.Src{path, text, toks, tree, bound, items} = ss
101 check.go(tree, native_only(text), path)