def plan.enter

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

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

646# the environment the rest is read with after a leaf: the one outside a
647# let's left side at its `=`, else this one with the leaf's binder on it
648def plan.enter(
649  keep: Bool,
650  outer: List<&2, Bind>,
651  push: Bool,
652  +bb: Bind,
653  env: List<&2, Bind>
654) -> List<&2, Bind>:
655  match keep:
656    case True{}:
657      outer
658    case False{}:
659      plan.pushed(push, bb, env)

Uses (4)

Used by (1)