def check.walk

bolt@1.27.0.0 · src/rules/style/wrap.bend:749

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

749# every token of the header
750def check.walk(toks: List<&2, Lex.Tok>, wk: Walk, glued: Bool) -> Walk:
751  match toks:
752    case Nil{}:
753      check.seal(wk)
754    case Con{+tok, rest}:
755      check.walk(rest, check.step(tok, wk, glued), check.glue_of(tok))

Uses (7)

Used by (1)