def plan.ginner

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

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

661# the mode a group's insides are read in; MStop when they mean nothing here
662def plan.ginner(mode: Mode, +gt: String) -> Mode:
663  match mode:
664    case MSig{}:
665      MTele{tele_kind(gt)}
666    case MTeleType{_kind}:
667      MTerm{}
668    case MLhs{outer, _kind}:
669      MLhs{outer, KPat{}}
670    case MLhsType{_outer}:
671      MTerm{}
672    case MTerm{}:
673      MTerm{}
674    case _other:
675      MStop{}

Uses (4)

Used by (1)