def last.step
import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Emptyimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
111# what a token leaves of the last tokens: a comma, a name after a comma, or
112# anything else
113def last.step(+kk: Lex.TokKind, +tt: String, ll: Last) -> Last:
114 match kk:
115 case Lex.TComma{}:
116 LComma{}
117 case Lex.TName{}:
118 match ll:
119 case LComma{}:
120 LName{code(kk, tt)}
121 case other:
122 LOther{}
123 case other:
124 LOther{}