Lex.continues: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/lex.bend as Lex Lines 131-171 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=131&end_line=171 import Base # does a char of this class continue the token the machine is inside of? def continues(mm: Mode, cls: Class) -> Bool: match mm cls: case Fresh{} c: False{} case InName{} CAlpha{}: True{} case InName{} CDigit{}: True{} case InName{} CDot{}: True{} case InNum{} CDigit{}: True{} case InNum{} CDot{}: True{} case InNum{} CAlpha{}: True{} case InStr{} c: True{} case InStrEsc{} c: True{} case InChar{} CNewline{}: False{} case InChar{} c: True{} case InCharEsc{} CNewline{}: False{} case InCharEsc{} c: True{} case InComment{} CNewline{}: False{} case InComment{} c: True{} case InSpace{} CSpace{}: True{} case InOp{} COp{}: True{} case InOp{} CDot{}: True{} case m c: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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