def step.before
import bolt@1.27.0.0/src/noqa.bend as Noqaimport Base
66# before a code: a space waits, a letter or digit starts one, anything else
67# ends the list
68def step.before(kk: Cls, +cc: Char, +acc: List<&2, String>) -> Rd:
69 match kk:
70 case CSpace{}:
71 Rd{Before{}, [], acc}
72 case CComma{}:
73 Rd{Past{}, [], acc}
74 case CCode{}:
75 Rd{Inside{}, [cc], acc}
76 case COther{}:
77 Rd{Past{}, [], acc}