docs: def _quoted_symbol_handler_factory():
      """Generates the quoted symbol (single quoted) handler."""
      def before(c, ctx, is_field_name, is_clob):
          assert not is_clob
          _validate_short_quoted_text(c, ctx, _MAX_TEXT_CHAR)
          return ctx.value, False
  
      return _quoted_text_handler_factory(
          _SINGLE_QUOTE,
          lambda c: (c != _SINGLE_QUOTE or _is_escaped(c)),
          before,
          _symbol_token_end,
      )