def check.step_hit

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

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

715# one significant token
716def check.step_hit(+wk: Walk, +tok: Lex.Tok, glued: Bool) -> Walk:
717  Walk{+mode, +paren, +bracket, +brace, +angle, _shut, _open, _on, _pline, _pend, _pcol, _spans} = wk
718  Lex.Tok{+kk, +tx, +ln, cl} = tok
719  +motion = check.act(mode, kk, tx, glued, paren, angle, brace, bracket)
720  check.maybe_note(check.is_sep(motion), check.apply(motion, wk, ln, cl, check.ticks_of(tx)), tok)

Uses (8)

Used by (1)