def lex.kq.esc

emerging-eztoml@0.9.0.0 · main.bend:4094

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

4094# only a basic key treats the backslash as an escape
4095def lex.kq.esc(basic: Bool, st: St, stay: Lex) -> St:
4096  match basic:
4097    case True{}:
4098      lex.kesc(st, stay)
4099    case False{}:
4100      st.push(st, '\\', stay)

Uses (6)

Used by (1)