def pos_of
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
173# the callee, when this argument is exactly a call
174def pos_of(mm: Maybe<&2, Lex.Tok>) -> List<&2, Pos>:
175 match mm:
176 case None{}:
177 Nil{}
178 case Some{Lex.Tok{k, t, l, c}}:
179 [Pos{l, c}]