def lex.key.q

emerging-eztoml@0.9.0.0 · main.bend:4246

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

4246# a quote or a bare character opens the key
4247def lex.key.q(qq: Bool, st: St, +cc: Char) -> St:
4248  match qq:
4249    case True{}:
4250      lex.qkey(st, QBasic{}, LKeyQ{})
4251    case False{}:
4252      lex.key.lit(Char.is_eq(cc, '\''), st, cc)

Uses (8)

Used by (1)