def tokens.feed

emerging-ezjson@1.3.0.0 · src/lex.bend:402

import emerging-ezjson@1.3.0.0/src/lex.bend as Lex
import Base

402def tokens.feed(+ch: Char, tail: String, st: Scan) -> Scan:
403  match st:
404    case Old{lex}:
405      Old{feed(ch, lex)}
406    case Go{cut, n, mode, toks}:
407      tokens.hit(ch, tail, cut, n, mode, toks, classify(ch), U32.is_lt(Char.to_u32(ch), 32))

Uses (8)

Used by (1)