def AaBuild.stmt

bend-osdev-apparmor@0.1.0.0 · parse.bend:1759

import bend-osdev-apparmor@0.1.0.0/parse.bend as Parse
import Base
import bend-osdev-apparmor@0.1.0.0/token.bend as T
import bend-osdev-apparmor@0.1.0.0/error.bend as E

1759# a statement: a rule inside a profile; at the top level the preamble pass has checked it
1760def AaBuild.stmt(+b: AaBuild, ts: List<&2, T.AaTok>, +ctx: AaCtx, +src: E.AaSrc) -> AaBuild:
1761  +fs = AaBuild.frames(b)
1762  Bool.pick(AaBuild, AaFrames.has_profile(fs), AaBuild.rules(AaParse.stmt(ts, AaFrames.qual(fs), AaFrames.full(fs), ctx, src), b), b)

Uses (12)

Used by (1)