def lex.kq

emerging-eztoml@0.9.0.0 · main.bend:4122

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

4122# a quoted key segment. back is the state after the closer; stay is this quote
4123def lex.kq(st: St, +cc: Char, back: Lex, stay: Lex) -> St:
4124  St{bad, rows, heads, here, parts, buf, lex, b, +qkind, stack, hold, uni, left, arrtab,
4125    lead} = st
4126  lex.kq.go(Char.is_eq(cc, q.char(qkind)), Char.is_eq(cc, '\\'), q.basic(qkind), ch.nl(cc),
4127    St{bad, rows, heads, here, parts, buf, lex, b, qkind, stack, hold, uni, left, arrtab,
4128      lead}, cc, back, stay)

Uses (8)

Used by (2)