def step.text.go
import bolt@1.27.0.0/src/syntax/outline.bend as Outlineimport Base
450# a line inside a string: more of a pending header, else nothing
451def step.text.go(mode: Mode, ss: String, +nn: U32, doc: List<&2, String>, out: List<&2, Item>) -> St:
452 match mode:
453 case Pending{k, nm, l, d, sig}:
454 St{Pending{k, nm, l, d, ss <> sig}, (nn + 1 : U32), doc, out}
455 case m:
456 St{m, (nn + 1 : U32), doc, out}