def plan.push
import bolt@1.27.0.0/src/syntax/bind.bend as Bindimport 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
522# does the binder a leaf records go into the environment too? All do but an
523# item's name and a constructor's, which the file's items hold
524def plan.push(mode: Mode, kk: Lex.TokKind, rest: Tree.Node) -> Bool:
525 match mode:
526 case MCtor{}:
527 False{}
528 case MName{}:
529 False{}
530 case other:
531 plan.rec(other, kk, rest)