type Node
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
17# Assertion kinds: 0 start of text, 1 end of text, 2 word boundary, 3 not a word boundary.
18type Node is Data:
19 NEmpty{}
20 NSet{neg: Bool, items: List<&2, Item>}
21 NAssert{k: U32}
22 NCat{a: Node, b: Node}
23 NAlt{a: Node, b: Node}
24 NPlus{greedy: Bool, a: Node}
25 NQuest{greedy: Bool, a: Node}
26 NGroup{i: U32, a: Node}