def AaVars.op
import bend-osdev-apparmor@0.1.0.0/parse.bend as Parseimport Base
import bend-osdev-apparmor@0.1.0.0/text.bend as X
546# the operator at the start of x: += (True) or = (False), and what follows it
547def AaVars.op(+x: List<&2, U32>) -> Maybe<&2, AaVRef>:
548 Bool.pick(Maybe<&2, AaVRef>, X.AaText.starts(x, "+="), Some{AaVRef{[1], X.AaText.drop(2n, x)}}, Bool.pick(Maybe<&2, AaVRef>, X.AaText.starts(x, "="), Some{AaVRef{Nil{}, X.AaText.drop(1n, x)}}, None{}))