def hi.hit.go

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

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

1111# the character after a high surrogate, on a live cursor
1112def hi.hit.go(
1113  _tl: String,
1114  hi: U32,
1115  buf: List<&2, Char>,
1116  stack: List<&2, Frame>,
1117  goal: Goal,
1118  done: Bool,
1119  cls: Lex.Class
1120) -> St:
1121  match cls:
1122    case Lex.CBack{}:
1123      S{MHiEsc{hi, buf}, stack, goal, done, False{}}
1124    case other:
1125      err.st(goal)

Uses (11)

Used by (1)