def check.go

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

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/outline.bend as Outline

946# every def header of the file
947def check.go(items: List<&2, Outline.Item>, +path: String) -> List<&2, F.Finding>:
948  match items:
949    case Nil{}:
950      Nil{}
951    case Con{Outline.Item{+kk, _name, +line, +sig, _doc, _pp}, rest}:
952      +more = check.go(rest, path)
953      check.one(kk, line, sig, path, more)

Uses (5)

Used by (1)