def check.jam

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

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

905# a multi-line header that is not one parameter per line, holds no parameter,
906# or whose `)` shares the last parameter's line or has no `->` after it
907def check.jam(+line: U32, toks: List<&2, Lex.Tok>, +path: String, +more: List<&2, F.Finding>) -> List<&2, F.Finding>:
908  +wk = check.walk(toks, check.start(), False{})
909  check.place(check.jam_span(wk), check.empty_span(wk), check.shut_span(wk), check.loose_span(wk), line, path, more)

Uses (13)

Used by (1)