Unescape.num.end: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape Lines 260-267 of emerging-ezhttp@0.21.0.0/src/unescape.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&start_line=260&end_line=267 import Base # inside a number, a character that is not a digit: `;` ends the reference # with it, anything else ends it and is text def num.end(+n: U32, +c: Char, k: Scan -> String, semi: Bool) -> String: match semi: case True{}: code(n) ++ k(Txt{}) case False{}: code(n) ++ text(c, k) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&name=Scan https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&name=code https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&name=text