def sk.uni.end.go

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

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

1306# a skipped `\u` that is not a surrogate
1307def sk.uni.end.go(
1308  _tl: String,
1309  stack: List<&2, Frame>,
1310  goal: Goal,
1311  done: Bool,
1312  sur: Lex.Sur,
1313  cp: U32
1314) -> St:
1315  match sur:
1316    case Lex.SOk{}:
1317      S{MSkStr{}, stack, goal, done, False{}}
1318    case Lex.SHi{}:
1319      S{MSkHi{cp}, stack, goal, done, False{}}
1320    case Lex.SLo{}:
1321      err.st(goal)

Uses (10)

Used by (1)