def flush

bolt@1.27.0.0 · src/syntax/outline.bend:302

import bolt@1.27.0.0/src/syntax/outline.bend as Outline
import Base

302# what was pending becomes an item
303def flush(mode: Mode, out: List<&2, Item>) -> List<&2, Item>:
304  match mode:
305    case Pending{k, nm, l, d, sig}:
306      Item{k, nm, l, sig_text(sig), d, ""} <> out
307    case other:
308      out

Uses (4)

Used by (5)