def marker

bolt@1.27.0.0 · src/lsp/report.bend:54

import bolt@1.27.0.0/src/lsp/report.bend as Report
import Base

54# the line number a source line of the report carries, when it does: `12>|
55# code` marks line 12, padding before the digits aside; a line of context
56# (`11 | code`) marks none, whatever its code holds
57def marker(ss: String) -> Maybe<&2, U32>:
58  +tt = String.trim_start(ss)
59  marker.go(tt, tt, 0n)

Uses (5)

Used by (1)