def of_srcs

bolt@1.27.0.0 · src/noqa.bend:208

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

208# each source's marks, in order
209def of_srcs(ss: List<&2, Src.Src>) -> List<&2, Marks>:
210  match ss:
211    case Nil{}:
212      Nil{}
213    case Con{Src.Src{path, _text, toks, _tree, _bound, _items}, rest}:
214      file(path, toks) <> of_srcs(rest)

Uses (4)

Used by (1)