def comma
import bolt@1.27.0.0/src/rules/style/transcong.bend as Transcongimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
51# is the node a comma leaf?
52def comma(nn: Tree.Node) -> Bool:
53 match nn:
54 case Tree.Leaf{Lex.Tok{k, _t, _l, _c}}:
55 Lex.is_comma(k)
56 case _other:
57 False{}