def AaGNfa.isstar

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

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

145# a star may match nothing: the position after it is active too
146def AaGNfa.isstar(tok: AaGTok) -> Bool:
147  match tok:
148    case AaGStar{}:
149      True{}
150    case AaGStar2{}:
151      True{}
152    case _:
153      False{}

Uses (2)

Used by (1)