def AaGExp.sep
import bend-osdev-apparmor@0.1.0.0/glob.bend as Globimport Base
747def AaGExp.sep(fs: List<&2, AaGFrame>, cur: List<&2, List<&2, AaGTok>>, ok: Bool) -> AaGExp:
748 match fs:
749 case Nil{}:
750 AaGExp{cur, Nil{}, False{}}
751 case Con{f, rest}:
752 match f:
753 case AaGFrame{o, d, n}:
754 AaGExp{[Nil{}], Con{AaGFrame{o, AaGSeqs.append(d, cur), 1n+n}, rest}, ok}