def Scan.go
import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directivesimport Base
209def Scan.go(text: String, s: Scan) -> Scan:
210 match text:
211 case SNil{}:
212 s
213 case SCon{+c, t}:
214 Scan.go(t, Scan.step(Glyph.of(c), c, s))