def AaGLex.star.go
import bend-osdev-apparmor@0.1.0.0/glob.bend as Globimport Base
504# a star or double star: after a '/', and before what `next` says, it stands
505# for one or more characters (a ? in front of it)
506def AaGLex.star.go(seg: Bool, st: AaGLex, t: AaGTok) -> AaGLex:
507 match seg:
508 case True{}:
509 AaGLex.emit(AaGLex.emit(st, AaGFTok{AaGAny{}}, 42), AaGFTok{t}, 42)
510 case False{}:
511 AaGLex.emit(st, AaGFTok{t}, 42)