def sk.lo.go

emerging-ezjson@1.3.0.0 · src/pull.bend:1424

import emerging-ezjson@1.3.0.0/src/pull.bend as Pull
import Base
import emerging-ezjson@1.3.0.0/src/lex.bend as Lex

1424# one hex digit of a skipped low surrogate
1425def sk.lo.go(
1426  +ch: Char,
1427  tl: String,
1428  left: Nat,
1429  acc: U32,
1430  hi: U32,
1431  stack: List<&2, Frame>,
1432  goal: Goal,
1433  done: Bool,
1434  ok: Bool
1435) -> St:
1436  match ok:
1437    case True{}:
1438      sk.lo.put(tl, left, acc, hi, Lex.hex(ch), stack, goal, done)
1439    case False{}:
1440      err.st(goal)

Uses (12)

Used by (1)