def value

gralha-xml-doc@0.1.0.1 · xml.bend:108

import gralha-xml-doc@0.1.0.1/xml.bend as Xml
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

108def value(s: String) -> U.Scan:
109  match s:
110    case SNil{}: U.Scan{"", ""}
111    case SCon{Chr{c}, t}:
112      +ch = c
113      value.go(U32.is_eq(ch, 34) || U32.is_eq(ch, 39), ch, t)

Uses (6)

Used by (2)