def AaGSeq.literal

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

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

864# a pattern matching exactly the bytes xs (no wildcards)
865def AaGSeq.literal(xs: List<&2, U32>) -> List<&2, AaGTok>:
866  match xs:
867    case Nil{}:
868      Nil{}
869    case Con{h, t}:
870      Con{AaGChar{h}, AaGSeq.literal(t)}

Uses (3)

Used by (1)