def plan.group

bolt@1.27.0.0 · src/syntax/bind.bend:379

import bolt@1.27.0.0/src/syntax/bind.bend as Bind
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

379# does the chain start with a group?
380def plan.group(rest: Tree.Node) -> Bool:
381  match rest:
382    case Tree.NCons{Tree.Group{_o, _g, _cl}, _r}:
383      True{}
384    case _other:
385      False{}

Uses (2)

Used by (3)