def copy.hit

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

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

964# one character of a string that is being decoded
965def copy.hit(
966  +ch: Char,
967  +tl: String,
968  buf: List<&2, Char>,
969  stack: List<&2, Frame>,
970  goal: Goal,
971  done: Bool,
972  bad: Bool,
973  cls: Lex.Class,
974  ctrl: Bool
975) -> St:
976  match bad:
977    case True{}:
978      err.st(goal)
979    case False{}:
980      copy.hit.go(ch, tl, buf, stack, goal, done, cls, ctrl)

Uses (10)

Used by (1)