def lo.end.go

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

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

1177# the low surrogate is in, or it is not one
1178def lo.end.go(
1179  _tl: String,
1180  lo: U32,
1181  hi: U32,
1182  buf: List<&2, Char>,
1183  stack: List<&2, Frame>,
1184  goal: Goal,
1185  done: Bool,
1186  sur: Lex.Sur
1187) -> St:
1188  match sur:
1189    case Lex.SLo{}:
1190      S{MCopy{Char.from_u32(Lex.unicode.pair(hi, lo)) <> buf}, stack, goal, done, False{}}
1191    case other:
1192      err.st(goal)

Uses (13)

Used by (1)