def mark.word

bolt@1.27.0.0 · src/noqa.bend:172

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

172# a comment's text past `#` and its spaces: a mark when it opens with `noqa`
173def mark.word(+line: U32, +col: U32, +len: U32, tt: String) -> List<&2, Mark>:
174  match tt:
175    case SCon{'n', SCon{'o', SCon{'q', SCon{'a', rest}}}}:
176      mark.rest(line, col, len, rest)
177    case other:
178      []

Uses (9)

Used by (1)