def AaLex.word.rp
import bend-osdev-apparmor@0.1.0.0/token.bend as Tokenimport Base
210def AaLex.word.rp(split: Bool, st: AaLex, acc: List<&2, U32>, depth: Nat, h: U32) -> AaLex:
211 match split:
212 case True{}:
213 AaLex.close_paren(AaLex.word_end(st, acc))
214 case False{}:
215 AaLex.keep(st, acc, depth, h)