def mark.text

bolt@1.27.0.0 · src/noqa.bend:180

import bolt@1.27.0.0/src/noqa.bend as Noqa
import Base

180# a comment's text: a mark when it is `#`, any spaces, then `noqa`
181def mark.text(+line: U32, +col: U32, +len: U32, tt: String) -> List<&2, Mark>:
182  match tt:
183    case SCon{'#', rest}:
184      mark.word(line, col, len, lead(rest))
185    case other:
186      []

Uses (10)

Used by (1)