def plan.ahead
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
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}