def check.step_on

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

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

726# a significant token is read; a space, a newline or a comment is not
727def check.step_on(sig: Bool, +tok: Lex.Tok, wk: Walk, glued: Bool) -> Walk:
728  match sig:
729    case True{}:
730      check.step_hit(wk, tok, glued)
731    case False{}:
732      check.step_skip(tok, wk, glued)

Uses (5)

Used by (1)