def plan.ahead

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

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

586# a binder at the next token, with the note its kind shows
587def plan.ahead(tok: Lex.Tok, kind: BindKind, +note: String) -> Bind:
588  match tok:
589    case Lex.Tok{_k, t, l, c}:
590      Bind{t, l, c, kind, note}

Uses (4)

Used by (1)