def from_string_scan

qasim-bend-kit@0.1.0.2 · libs/JSON.bend:630

import qasim-bend-kit@0.1.0.2/libs/JSON.bend as JSON
import Base

630def from_string_scan(scanned: Result<&1, &1, Error, StringScan>) -> Result<&1, &1, Error, Parsed>:
631    match scanned:
632        case Fail{e}:
633            Fail{e}
634        case Done{scan}:
635            match scan:
636                case StringScan{value, rest}:
637                    Done{Parsed{Str{value}, rest}}

Uses (5)

Used by (0)

No other definition uses this definition.