Xml.until.decoded.go: def of gralha-xml-doc@0.1.0.1 Import: import gralha-xml-doc@0.1.0.1/xml.bend as Xml Lines 63-71 of gralha-xml-doc@0.1.0.1/xml.bend: https://jend.leeeet.dev/read.txt?path=gralha-xml-doc@0.1.0.1/xml.bend&start_line=63&end_line=71 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def until.decoded.go(hit: Bool, +c: U32, t: String, +end: U32, acc: String) -> U.Scan: match hit: case True{}: U.Scan{rev.decode(acc, ""), t} case False{}: match t: case SNil{}: U.Scan{rev.decode(SCon{Chr{c}, acc}, ""), ""} case SCon{Chr{c2}, t2}: +cc = c2 until.decoded.go(U32.is_eq(cc, end), cc, t2, end, SCon{Chr{c}, acc}) Uses (7): 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=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=Scan https://jend.leeeet.dev/definition.txt?path=gralha-xml-doc@0.1.0.1/xml.bend&name=rev.decode