def St.step

bendtorch-load@1.3.0.0 · main.bend:297

import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad
import Base

297def St.step(st: Lex, +b: U32) -> LexR:
298  match st:
299    case LOut{}: St.out(b)
300    case LStr{acc}: St.str_go(U32.is_eq(b, 34), U32.is_eq(b, 92), b, acc)
301    case LEsc{acc}: LexR{LStr{SCon{Chr{b}, acc}}, Nil{}}
302    case LNum{+v}: St.num_go(St.digit(b), b, v)

Uses (11)

Used by (1)