def Walk.emit

bend-lint-rules@0.2.0.0 · lib/text/main.bend:262

import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules
import Base

262# The offsets due at `at`, placed at `line` and `column`.
263def Walk.emit(
264  pending: List<&2, Placed>,
265  due: Bool,
266  +at: U32,
267  +line: U32,
268  +column: U32,
269  out: List<&2, Located>
270) -> Walk:
271  match pending due:
272    case Con{Placed{i, offset}, +rest} True{}:
273      Walk.emit(
274        rest,
275        Walk.is_due(rest, at),
276        at,
277        line,
278        column,
279        Located{i, Position{line, column}} <> out
280      )
281    case _ _:
282      Walk{pending, out}

Uses (8)

Used by (2)