def opens
import bolt@1.27.0.0/src/syntax/tree.bend as Treeimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
90# is it a group opened by this bracket?
91def opens(nn: Node, +ss: String) -> Bool:
92 match nn:
93 case Group{Lex.Tok{k, t, l, c}, kids, close}:
94 String.eq(t, ss)
95 case other:
96 False{}