def value.go
import gralha-xml-doc@0.1.0.1/xml.bend as Xmlimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
103def value.go(quoted: Bool, +ch: U32, rest: String) -> U.Scan:
104 match quoted:
105 case True{}: until.decoded(rest, ch, "")
106 case False{}: xml.name(SCon{Chr{ch}, rest}, "")