Rewalk.last_pos: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk Lines 500-506 of bolt@1.27.0.0/src/rules/pedantic/rewalk.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/pedantic/rewalk.bend&start_line=500&end_line=506 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # where a let's names take effect: its last token, after the right-hand side def last_pos(ts: List<&2, Lex.Tok>) -> Pos: match ts: case Nil{}: Pos{0, 0} case Con{Lex.Tok{k, t, +l, +c}, rest}: Pos{l, c} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/pedantic/rewalk.bend&name=Pos https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=Tok