def AaGClass.step

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

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

632def AaGClass.step(k: AaGK, +h: U32, st: AaGLex, +neg: Bool, +first: Bool, +rs: List<&2, AaGRange>, +pend: Maybe<&2, U32>, +dash: Bool) -> AaGLex:
633  match k:
634    case AaGKClose{}:
635      AaGClass.close.go(Bool.or(first, dash), st, neg, AaGClass.flush(rs, pend))
636    case AaGKCaret{}:
637      AaGClass.caret.go(Bool.or(neg, Bool.not(first)), st, neg, rs, pend, dash)
638    case AaGKDash{}:
639      AaGClass.dash.go(AaGClass.dash.kind(first, dash, pend), st, neg, rs, pend)
640    case AaGKBack{}:
641      AaGLex.fail(st)
642    case AaGKOther{}:
643      AaGClass.other(dash, st, neg, rs, pend, h)

Uses (16)

Used by (1)