def AaGlob.matches_ref.go

bend-osdev-apparmor@0.1.0.0 · glob.bend:339

import bend-osdev-apparmor@0.1.0.0/glob.bend as Glob
import Base

339# the same with the backtracking matcher (the reference)
340def AaGlob.matches_ref.go(alts: List<&2, List<&2, AaGTok>>, +s: List<&2, U32>) -> Bool:
341  match alts:
342    case Nil{}:
343      False{}
344    case Con{a, t}:
345      Bool.or(AaGSeq.matches(a, s), AaGlob.matches_ref.go(t, s))

Uses (6)

Used by (2)