Lex.after: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/lex.bend as Lex Lines 173-189 of bolt@1.27.0.0/src/syntax/lex.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&start_line=173&end_line=189 import Base # the mode after a char that continued the token def after(mm: Mode, cls: Class) -> Mode: match mm cls: case InStr{} CQuote{}: Fresh{} case InStr{} CBack{}: InStrEsc{} case InStrEsc{} c: InStr{} case InChar{} CTick{}: Fresh{} case InChar{} CBack{}: InCharEsc{} case InCharEsc{} c: InChar{} case m c: m Uses (2): https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=Class https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=Mode