def step.after

bolt@1.27.0.0 · src/noqa.bend:92

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

92# after a code: a space waits, a comma expects the next, anything else ends
93# the list
94def step.after(kk: Cls, +acc: List<&2, String>) -> Rd:
95  match kk:
96    case CSpace{}:
97      Rd{After{}, [], acc}
98    case CComma{}:
99      Rd{Before{}, [], acc}
100    case CCode{}:
101      Rd{Past{}, [], acc}
102    case COther{}:
103      Rd{Past{}, [], acc}

Uses (5)

Used by (1)