def pl.step

yaml-for-bend@0.1.1.0 · scan.bend:760

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

760def pl.step(p: Pl, +ind: Nat, +flow: Bool, +start: T.Mark) -> Pl:
761  match p:
762    case Pl{cur, acc, end, ws, lead, brks, word, bad}:
763      match word:
764        case True{}:
765          pl.word(cur, acc, end, ws, lead, brks, flow)
766        case False{}:
767          pl.blank(cur, acc, end, ws, lead, brks, bad, ind, flow, start)
768    case _:
769      p

Uses (6)

Used by (1)