def lo.hit.go

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

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

1224# one hex digit of the low surrogate
1225def lo.hit.go(
1226  +ch: Char,
1227  +tl: String,
1228  left: Nat,
1229  acc: U32,
1230  hi: U32,
1231  buf: List<&2, Char>,
1232  stack: List<&2, Frame>,
1233  goal: Goal,
1234  done: Bool,
1235  ok: Bool
1236) -> St:
1237  match ok:
1238    case True{}:
1239      lo.put(tl, left, acc, hi, Lex.hex(ch), buf, stack, goal, done)
1240    case False{}:
1241      err.st(goal)

Uses (12)

Used by (1)