def step

bend-toon-codec@0.1.0.0 · src/step.bend:263

import bend-toon-codec@0.1.0.0/src/step.bend as Step
import Base
import bend-toon-codec@0.1.0.0/src/dline.bend as D
import bend-toon-codec@0.1.0.0/src/frame.bend as F

263# Apply one line. A blank line only updates the blank-line bookkeeping.
264def step(+l: D.DL, +st: F.St, +strict: Bool) -> Result<&2, &2, String, F.St>:
265  match l:
266    case D.DL{no, depth, text, blank}:
267      step.go(blank, no, depth, text, st, strict)

Uses (6)

Used by (1)