def AaTok.is
import bend-osdev-apparmor@0.1.0.0/token.bend as Tokenimport Base
import bend-osdev-apparmor@0.1.0.0/text.bend as X
42# the token is the word s
43def AaTok.is(t: AaTok, s: String) -> Bool:
44 match t:
45 case AaTWord{x, l}:
46 X.AaText.is(x, s)
47 case AaTQuoted{x, l}:
48 False{}
49 case AaTOpen{l}:
50 False{}
51 case AaTClose{l}:
52 False{}
53 case AaTLParen{l}:
54 False{}
55 case AaTRParen{l}:
56 False{}
57 case AaTComma{l}:
58 False{}