def check.jam_span

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

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

779# the first parameter that breaks the shape, in source order
780def check.jam_span(wk: Walk) -> Maybe<&2, Span>:
781  Walk{_mode, _paren, _bracket, _brace, _angle, _shut, +open, _on, _pline, _pend, _pcol, spans} = wk
782  check.judge(List.reverse(&2, Span, spans), open)

Uses (5)

Used by (1)