def plan.mark_body

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

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

750# is the scope recorded between a statement's header and its body? A def's is
751def plan.mark_body(mode: Mode, sk: Tree.StmtKind) -> Bool:
752  match mode sk:
753    case MBlock{} Tree.SDef{}:
754      True{}
755    case _other _sk:
756      False{}

Uses (3)

Used by (1)